diff options
author | Andre Heider | 2009-02-15 16:21:53 +0000 |
---|---|---|
committer | Andre Heider | 2009-02-15 16:21:53 +0000 |
commit | aff0a0daac4d2bff6e2731e7c1ecaf25ce4f1eb8 (patch) | |
tree | 719d29edab93701c80e58d0b27bf5add6b32fd0d /backends/platform/wii | |
parent | f046858d5dfe3924bc2455b931dfab8eea41401c (diff) | |
download | scummvm-rg350-aff0a0daac4d2bff6e2731e7c1ecaf25ce4f1eb8.tar.gz scummvm-rg350-aff0a0daac4d2bff6e2731e7c1ecaf25ce4f1eb8.tar.bz2 scummvm-rg350-aff0a0daac4d2bff6e2731e7c1ecaf25ce4f1eb8.zip |
add support for USB keyboard modifier keys.
svn-id: r38264
Diffstat (limited to 'backends/platform/wii')
-rw-r--r-- | backends/platform/wii/osystem_events.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/backends/platform/wii/osystem_events.cpp b/backends/platform/wii/osystem_events.cpp index 7597bd65db..ac7225e39c 100644 --- a/backends/platform/wii/osystem_events.cpp +++ b/backends/platform/wii/osystem_events.cpp @@ -91,6 +91,14 @@ static int keymap[][2] = { { KBD_KP_minus, Common::KEYCODE_KP_MINUS }, { KBD_KP_equal, Common::KEYCODE_KP_EQUALS }, { KBD_KP_enter, Common::KEYCODE_KP_ENTER }, + { KBD_LeftShift, Common::KEYCODE_LSHIFT }, + { KBD_RightShift, Common::KEYCODE_RSHIFT }, + { KBD_LeftCtrl, Common::KEYCODE_LCTRL }, + { KBD_RightCtrl, Common::KEYCODE_RCTRL }, + { KBD_LeftAlt, Common::KEYCODE_LALT }, + { KBD_RightAlt, Common::KEYCODE_RALT }, + { KBD_LeftMeta, Common::KEYCODE_LMETA }, + { KBD_RightMeta, Common::KEYCODE_RMETA }, { 0, 0 } }; #endif |