Correct shifted key bindings

This commit is contained in:
simon.kagstrom 2009-02-28 11:26:57 +00:00
parent 049a3846b4
commit aa7c41770b
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,8 @@
TODO: Crash on + in "Other" menu TODO: Crash on + in "Other" menu
version 8: version 8:
* Correct binding of shifted keys (thanks to Bob Forgan)
* Fix binding keys without the classic controller (plus etc were missing) * Fix binding keys without the classic controller (plus etc were missing)
-- Simon Kagstrom <simon.kagstrom@gmail.com> -- Simon Kagstrom <simon.kagstrom@gmail.com>

View File

@ -260,7 +260,7 @@ int VirtualKeyboard::get_key()
if (key == NULL) if (key == NULL)
return -2; return -2;
if (key->is_shift) if (this->shift_on)
return key->kc | 0x80; return key->kc | 0x80;
return key->kc; return key->kc;
} }