Browse Source

engine: touch: only pop up touch keyboard on FINGERDOWN events

pull/2/head
fgsfds 4 years ago committed by Alibek Omarov
parent
commit
b68def2b9c
  1. 1
      engine/client/in_touch.c

1
engine/client/in_touch.c

@ -1956,6 +1956,7 @@ int IN_TouchEvent( touchEventType type, int fingerID, float x, float y, float dx @@ -1956,6 +1956,7 @@ 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 )
{
if ( type == event_down ) // don't pop it again on event_up
Key_EnableTextInput( true, true );
if( cls.key_dest == key_console )
{

Loading…
Cancel
Save