mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 04:08:37 +01:00
UI: Add analog speed limit mapping.
Only shows up as a setting if mapped, to avoid cluttering settings.
This commit is contained in:
1 parent
536c050943
commit
c15c4a6967
14 files changed
+113
-5
No files matched your search
@@ -337,6 +337,9 @@ bool KeyMappingNewKeyDialog::key(const KeyInput &key) {
|
||||
if (key.keyCode == NKCODE_EXT_MOUSEBUTTON_1) {
|
||||
return true;
|
||||
}
|
||||
// Only map analog values to this mapping.
|
||||
if (pspBtn_ == VIRTKEY_SPEED_ANALOG)
|
||||
return true;
|
||||
|
||||
mapped_ = true;
|
||||
KeyDef kdf(key.deviceId, key.keyCode);
|
||||
|
||||
Reference in new issue
Block a user