When using the screen keyboard on Android systems with touch input,
keys on the screen keyboard like the "Return" key are handled as key
events, not text events, This causes the event handler to think that
a real keyboard is used instead of touch input, causing overlay touch
buttons to be disabled, even if the screen keyboard is immediately
followed by a request dialog, where overlay buttons should be used.
if (key_status == KEY_PRESSED)
SetOverlayEnabled(!GetOverlayEnabled());
}
- else
+ else if (!textinput_status)
{
// for any other "real" key event, disable virtual buttons
SetOverlayEnabled(FALSE);