mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-15 23:40:29 +02:00
When using controller autoconf on PC, throw in a couple of useful keyboard mappings too.
See #7399
This commit is contained in:
1 parent
2f6216d787
commit
a8a7adc85f
1 file changed
+6
@@ -953,6 +953,12 @@ void AutoConfForPad(const std::string &name) {
|
||||
} else {
|
||||
SetDefaultKeyMap(DEFAULT_MAPPING_PAD, true);
|
||||
}
|
||||
|
||||
#ifndef MOBILE_DEVICE
|
||||
// Add a couple of convenient keyboard mappings by default, too.
|
||||
g_controllerMap[VIRTKEY_PAUSE].push_back(KeyDef(DEVICE_ID_KEYBOARD, NKCODE_ESCAPE));
|
||||
g_controllerMap[VIRTKEY_UNTHROTTLE].push_back(KeyDef(DEVICE_ID_KEYBOARD, NKCODE_TAB));
|
||||
#endif
|
||||
}
|
||||
|
||||
const std::set<std::string> &GetSeenPads() {
|
||||
|
||||
Reference in new issue
Block a user