mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 19:34:39 +01:00
Make even more keys mappable
This commit is contained in:
1 parent
a8e932830e
commit
b581b73757
3 files changed
+33
-3
No files matched your search
@@ -62,6 +62,7 @@ std::map<int, int> windowsTransTable = InitConstMap<int, int>
|
||||
(VK_NUMPAD7, KEYCODE_NUMPAD_7)
|
||||
(VK_NUMPAD8, KEYCODE_NUMPAD_8)
|
||||
(VK_NUMPAD9, KEYCODE_NUMPAD_9)
|
||||
(VK_DECIMAL, KEYCODE_NUMPAD_DOT)
|
||||
(VK_DIVIDE, KEYCODE_NUMPAD_DIVIDE)
|
||||
(VK_MULTIPLY, KEYCODE_NUMPAD_MULTIPLY)
|
||||
(VK_SUBTRACT, KEYCODE_NUMPAD_SUBTRACT)
|
||||
@@ -97,6 +98,7 @@ std::map<int, int> windowsTransTable = InitConstMap<int, int>
|
||||
(VK_OEM_2, KEYCODE_SLASH)
|
||||
(VK_OEM_3, KEYCODE_GRAVE)
|
||||
(VK_OEM_4, KEYCODE_LEFT_BRACKET)
|
||||
(VK_OEM_5, KEYCODE_BACKSLASH)
|
||||
(VK_OEM_6, KEYCODE_RIGHT_BRACKET)
|
||||
(VK_OEM_7, KEYCODE_APOSTROPHE)
|
||||
(VK_MENU, KEYCODE_MENU)
|
||||
@@ -106,7 +108,8 @@ std::map<int, int> windowsTransTable = InitConstMap<int, int>
|
||||
(VK_RCONTROL, KEYCODE_CTRL_RIGHT)
|
||||
(VK_LMENU, KEYCODE_ALT_LEFT)
|
||||
(VK_RMENU, KEYCODE_ALT_RIGHT)
|
||||
(VK_RETURN, KEYCODE_ENTER);
|
||||
(VK_RETURN, KEYCODE_ENTER)
|
||||
(VK_OEM_102, KEYCODE_EXT_PIPE);
|
||||
|
||||
int KeyboardDevice::UpdateState(InputState &input_state) {
|
||||
// Nothing to do, all done in WM_INPUT
|
||||
|
||||
Reference in new issue
Block a user