mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-02 22:26:25 +00:00
Accept DPAD_CENTER as an "Accept" key. Fixes #9471
This commit is contained in:
parent
9b216af65d
commit
d721b629ca
@ -299,7 +299,7 @@ bool IsAcceptKey(const KeyInput &key) {
|
||||
if (key.deviceId == DEVICE_ID_KEYBOARD) {
|
||||
return key.keyCode == NKCODE_SPACE || key.keyCode == NKCODE_ENTER || key.keyCode == NKCODE_Z;
|
||||
} else {
|
||||
return key.keyCode == NKCODE_BUTTON_A || key.keyCode == NKCODE_BUTTON_CROSS || key.keyCode == NKCODE_BUTTON_1;
|
||||
return key.keyCode == NKCODE_BUTTON_A || key.keyCode == NKCODE_BUTTON_CROSS || key.keyCode == NKCODE_BUTTON_1 || key.keyCode == NKCODE_DPAD_CENTER;
|
||||
}
|
||||
} else {
|
||||
return MatchesKeyDef(confirmKeys, key);
|
||||
|
Loading…
Reference in New Issue
Block a user