diff options
author | D G Turner | 2014-05-05 05:21:23 +0100 |
---|---|---|
committer | D G Turner | 2014-05-05 05:21:23 +0100 |
commit | 37c46fecbfa12e85595e202d5635a8ce82386590 (patch) | |
tree | 37ac14d4383fb04594fdbc2dbf0d779f4c8ab96e /backends | |
parent | 7042de2aa9ce75b5b16837bf23c229572b464ce8 (diff) | |
download | scummvm-rg350-37c46fecbfa12e85595e202d5635a8ce82386590.tar.gz scummvm-rg350-37c46fecbfa12e85595e202d5635a8ce82386590.tar.bz2 scummvm-rg350-37c46fecbfa12e85595e202d5635a8ce82386590.zip |
ANDROID: Fix correct keycode in keymapper for virtual keyboard trigger.
As the virtual keyboard trigger has been moved to CTRL-F7, the previous
code which generates a unmodified F7 event to do this will not work.
However, due to the complexity of this code, directly calling the
virtual keyboard trigger event could have side effects, so have instead
just added the CTRL modifier to fix this.
This should be fixed if possible to use EVENT_VIRTUAL_KEYBOARD.
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/android/events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/android/events.cpp b/backends/platform/android/events.cpp index c60626ec36..8039981a92 100644 --- a/backends/platform/android/events.cpp +++ b/backends/platform/android/events.cpp @@ -263,7 +263,7 @@ void OSystem_Android::setupKeymapper() { Action *act; act = new Action(globalMap, "VIRT", "Display keyboard"); - act->addKeyEvent(KeyState(KEYCODE_F7, ASCII_F7, 0)); + act->addKeyEvent(KeyState(KEYCODE_F7, ASCII_F7, KBD_CTRL)); mapper->addGlobalKeymap(globalMap); |