mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Fix bug with unthrottle as virtual key. Add button to restore default key mappings.
This commit is contained in:
1 parent
1256d5528d
commit
47dae8c004
4 files changed
+9
-2
No files matched your search
@@ -412,6 +412,9 @@ void SetKeyMapping(int map, int deviceId, int key, int btn)
|
||||
controllerMaps[map].keys[KeyDef(deviceId, key)] = btn;
|
||||
}
|
||||
|
||||
void RestoreDefault() {
|
||||
controllerMaps = DefaultKeyMap::KeyMap;
|
||||
}
|
||||
|
||||
// TODO: Make the ini format nicer.
|
||||
void LoadFromIni(IniFile &file) {
|
||||
|
||||
Reference in new issue
Block a user