mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 03:14:34 +01:00
Fix silly key mapping bug. Update native with SDL gamepad support (that
needs more work).
This commit is contained in:
1 parent
dcb400f85d
commit
4a49ec2e40
2 files changed
+6
-4
No files matched your search
+5
-3
@@ -698,9 +698,11 @@ void ControlsScreen::update(InputState &input) {
|
||||
|
||||
void KeyMappingNewKeyDialog::key(const KeyInput &key) {
|
||||
if (key.flags & KEY_DOWN) {
|
||||
last_kb_deviceid = key.deviceId;
|
||||
last_kb_key = key.keyCode;
|
||||
last_axis_id = -1;
|
||||
if (key.keyCode != KEYCODE_EXT_MOUSEBUTTON_1) {
|
||||
last_kb_deviceid = key.deviceId;
|
||||
last_kb_key = key.keyCode;
|
||||
last_axis_id = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user