From 4fd0e9e94ba5a4e4b11a9e993f69350f70564227 Mon Sep 17 00:00:00 2001 From: athrxx Date: Tue, 3 Jan 2012 08:38:14 +0100 Subject: KYRA: (EOB) - improve keyboard control for spell book cursor with non QWERTZ keyboards --- engines/kyra/kyra_v1.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3