mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Make some more keys mappable in Windows.
This commit is contained in:
1 parent
19a6edd6cc
commit
7cd45d9375
2 files changed
+8
-1
No files matched your search
@@ -105,13 +105,15 @@ std::map<int, int> windowsTransTable = InitConstMap<int, int>
|
||||
(VK_OEM_3, KEYCODE_GRAVE)
|
||||
(VK_OEM_4, KEYCODE_LEFT_BRACKET)
|
||||
(VK_OEM_6, KEYCODE_RIGHT_BRACKET)
|
||||
(VK_OEM_7, KEYCODE_APOSTROPHE)
|
||||
(VK_MENU, KEYCODE_MENU)
|
||||
(VK_LSHIFT, KEYCODE_SHIFT_LEFT)
|
||||
(VK_RSHIFT, KEYCODE_SHIFT_RIGHT)
|
||||
(VK_LCONTROL, KEYCODE_CTRL_LEFT)
|
||||
(VK_RCONTROL, KEYCODE_CTRL_RIGHT)
|
||||
(VK_LMENU, KEYCODE_ALT_LEFT)
|
||||
(VK_RMENU, KEYCODE_ALT_RIGHT);
|
||||
(VK_RMENU, KEYCODE_ALT_RIGHT)
|
||||
(VK_RETURN, KEYCODE_ENTER);
|
||||
|
||||
int KeyboardDevice::UpdateState(InputState &input_state) {
|
||||
if (MainWindow::GetHWND() != GetForegroundWindow()) return -1;
|
||||
|
||||
Reference in new issue
Block a user