mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07: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:
@@ -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