mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
Rename KeyDef to InputMapping and give it responsibility for Axis encoding
This commit is contained in:
1 parent
3c9e968ca0
commit
d00809ae53
13 files changed
+165
-204
No files matched your search
+1
-1
@@ -1261,7 +1261,7 @@ bool NativeKey(const KeyInput &key) {
|
||||
if (g_Config.bPauseExitsEmulator) {
|
||||
static std::vector<int> pspKeys;
|
||||
pspKeys.clear();
|
||||
if (KeyMap::KeyToPspButton(key.deviceId, key.keyCode, &pspKeys)) {
|
||||
if (KeyMap::InputMappingToPspButton(InputMapping(key.deviceId, key.keyCode), &pspKeys)) {
|
||||
if (std::find(pspKeys.begin(), pspKeys.end(), VIRTKEY_PAUSE) != pspKeys.end()) {
|
||||
System_ExitApp();
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user