aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorathrxx2012-01-03 08:38:14 +0100
committerunknown2012-01-03 17:37:46 +0100
commit4fd0e9e94ba5a4e4b11a9e993f69350f70564227 (patch)
tree9b9bd13331f9008aa5836e6c545019bb70a8e1ac
parentbda4e9ba9eed4d440661a321f527389d4d78bda7 (diff)
downloadscummvm-rg350-4fd0e9e94ba5a4e4b11a9e993f69350f70564227.tar.gz
scummvm-rg350-4fd0e9e94ba5a4e4b11a9e993f69350f70564227.tar.bz2
scummvm-rg350-4fd0e9e94ba5a4e4b11a9e993f69350f70564227.zip
KYRA: (EOB) - improve keyboard control for spell book cursor with non QWERTZ keyboards
-rw-r--r--engines/kyra/kyra_v1.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/engines/kyra/kyra_v1.cpp b/engines/kyra/kyra_v1.cpp
index e60913ca6e..7167d41550 100644
--- a/engines/kyra/kyra_v1.cpp
+++ b/engines/kyra/kyra_v1.cpp
@@ -420,8 +420,18 @@ void KyraEngine_v1::setupKeyMap() {
{ KC(KP_MINUS), 105, 0/*unknown*/ },
{ KC(PLUS), 13, 0/*unknown*/ },
{ KC(KP_PLUS), 106, 0/*unknown*/ },
+
+ // Multiple mappings for the keys to the right of the 'M' key,
+ // since these are different for QWERTZ, QWERTY and AZERTY keyboards.
+ // QWERTZ
{ KC(COMMA), 53, 0/*unknown*/ },
- { KC(PERIOD), 54, 0/*unknown*/ }
+ { KC(PERIOD), 54, 0/*unknown*/ },
+ // AZERTY
+ { KC(SEMICOLON), 53, 0/*unknown*/ },
+ { KC(COLON), 54, 0/*unknown*/ },
+ // QWERTY
+ { KC(LESS), 53, 0/*unknown*/ },
+ { KC(GREATER), 54, 0/*unknown*/ }
};
#undef KC