aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-02-14 23:03:26 +0100
committerEugene Sandulenko2016-02-14 23:06:11 +0100
commit39991ad4a56450f6c5c439cb5099eb0fcb972b54 (patch)
treeb03bbe4936b921c21bca14ba49eae3b621f56c1f
parent873ba15b66b799641d2f22ac00df2142e84c0101 (diff)
downloadscummvm-rg350-39991ad4a56450f6c5c439cb5099eb0fcb972b54.tar.gz
scummvm-rg350-39991ad4a56450f6c5c439cb5099eb0fcb972b54.tar.bz2
scummvm-rg350-39991ad4a56450f6c5c439cb5099eb0fcb972b54.zip
GCW0: Fix virtual keyboard
-rw-r--r--backends/events/dinguxsdl/dinguxsdl-events.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/events/dinguxsdl/dinguxsdl-events.cpp b/backends/events/dinguxsdl/dinguxsdl-events.cpp
index cc15f2666c..cb71304f18 100644
--- a/backends/events/dinguxsdl/dinguxsdl-events.cpp
+++ b/backends/events/dinguxsdl/dinguxsdl-events.cpp
@@ -176,6 +176,7 @@ bool DINGUXSdlEventSource::remapKey(SDL_Event &ev, Common::Event &event) {
} else if (ev.key.keysym.sym == BUT_SELECT) { // virtual keyboard
#ifdef ENABLE_VKEYBD
event.type = Common::EVENT_VIRTUAL_KEYBOARD;
+ return true;
#endif
} else if (ev.key.keysym.sym == BUT_START) { // F5, menu in some games
ev.key.keysym.sym = SDLK_F5;