From aa7c41770bf7eca6abd7247991a881249356fe6a Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sat, 28 Feb 2009 11:26:57 +0000 Subject: [PATCH] Correct shifted key bindings --- CHANGES.WII | 2 ++ Src/VirtualKeyboard.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES.WII b/CHANGES.WII index 645d30d..94a6ffd 100644 --- a/CHANGES.WII +++ b/CHANGES.WII @@ -6,6 +6,8 @@ TODO: Crash on + in "Other" menu version 8: + * Correct binding of shifted keys (thanks to Bob Forgan) + * Fix binding keys without the classic controller (plus etc were missing) -- Simon Kagstrom diff --git a/Src/VirtualKeyboard.cpp b/Src/VirtualKeyboard.cpp index 1820403..3c05688 100644 --- a/Src/VirtualKeyboard.cpp +++ b/Src/VirtualKeyboard.cpp @@ -260,7 +260,7 @@ int VirtualKeyboard::get_key() if (key == NULL) return -2; - if (key->is_shift) + if (this->shift_on) return key->kc | 0x80; return key->kc; }