Browse Source

touch: only pop up OSK on FINGERDOWN events

pull/2/head
fgsfds 2 years ago
parent
commit
cb28101732
  1. 3
      engine/client/in_touch.c

3
engine/client/in_touch.c

@ -1956,7 +1956,8 @@ int IN_TouchEvent( touchEventType type, int fingerID, float x, float y, float dx @@ -1956,7 +1956,8 @@ int IN_TouchEvent( touchEventType type, int fingerID, float x, float y, float dx
// Hack for keyboard, hope it help
if( cls.key_dest == key_console || cls.key_dest == key_message )
{
Key_EnableTextInput( true, true );
if ( type == event_down ) // don't pop it again on event_up
Key_EnableTextInput( true, true );
if( cls.key_dest == key_console )
{
static float y1 = 0;

Loading…
Cancel
Save