mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Input event and device enums (#17514)
* Switch deviceID from int to enum InputDeviceID, globally * Switch axisId to enum InputAxis * Change int keycodes to InputKeyCode where it makes sense. * SDL input buildfix * SDL keycode buildfix * Switch on enum warning fixes * Qt keycode buildfix * iOS keycode buildfix * UWP keycode buildfix * More iOS buildfix * More iOS buildfix * Update DinputDevice.cpp
This commit is contained in:
1 parent
6f380a7a0a
commit
2675d6ea43
32 files changed
+129
-133
No files matched your search
@@ -3,7 +3,7 @@
|
||||
|
||||
using namespace Windows::System;
|
||||
|
||||
std::map<Windows::System::VirtualKey, int> virtualKeyCodeToNKCode{
|
||||
std::map<Windows::System::VirtualKey, InputKeyCode> virtualKeyCodeToNKCode{
|
||||
{ VirtualKey::A, NKCODE_A },
|
||||
{ VirtualKey::B, NKCODE_B },
|
||||
{ VirtualKey::C, NKCODE_C },
|
||||
@@ -107,4 +107,4 @@ std::map<Windows::System::VirtualKey, int> virtualKeyCodeToNKCode{
|
||||
//{ VK_OEM_102, NKCODE_EXT_PIPE },
|
||||
//{ VK_LBUTTON, NKCODE_EXT_MOUSEBUTTON_1 },
|
||||
//{ VK_RBUTTON, NKCODE_EXT_MOUSEBUTTON_2 },;
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user