From aff0a0daac4d2bff6e2731e7c1ecaf25ce4f1eb8 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Sun, 15 Feb 2009 16:21:53 +0000 Subject: add support for USB keyboard modifier keys. svn-id: r38264 --- backends/platform/wii/osystem_events.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'backends/platform/wii') 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 -- cgit v1.2.3