mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
When using controller autoconf on PC, throw in a couple of useful keyboard mappings too.
See #7399
This commit is contained in:
parent
2f6216d787
commit
a8a7adc85f
1 changed files with 6 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue