mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Do the same with KeyInputFlags. Fix minor UI misalignments
This commit is contained in:
1 parent
481d0fd18c
commit
18a67b82d2
37 files changed
+183
-182
No files matched your search
@@ -243,14 +243,14 @@ void XinputDevice::ApplyButtons(int pad, const XINPUT_STATE &state) {
|
||||
if (downMask & xinput_ctrl_map[i].from) {
|
||||
KeyInput key;
|
||||
key.deviceId = DEVICE_ID_XINPUT_0 + pad;
|
||||
key.flags = KEY_DOWN;
|
||||
key.flags = KeyInputFlags::DOWN;
|
||||
key.keyCode = xinput_ctrl_map[i].to;
|
||||
NativeKey(key);
|
||||
}
|
||||
if (upMask & xinput_ctrl_map[i].from) {
|
||||
KeyInput key;
|
||||
key.deviceId = DEVICE_ID_XINPUT_0 + pad;
|
||||
key.flags = KEY_UP;
|
||||
key.flags = KeyInputFlags::UP;
|
||||
key.keyCode = xinput_ctrl_map[i].to;
|
||||
NativeKey(key);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user