Skip to content

Commit

Permalink
Android: Fix bug where autoconfigure for unknown pad types didn't do …
Browse files Browse the repository at this point in the history
…anything, instead of just doing the defaults.
  • Loading branch information
hrydgard committed Aug 24, 2023
1 parent 2b7fe0d commit 0e56ed1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Core/KeyMap.cpp
Expand Up @@ -798,6 +798,8 @@ void AutoConfForPad(const std::string &name) {
SetDefaultKeyMap(DEFAULT_MAPPING_ANDROID_XBOX, false);
} else if (name == "Retro Station Controller") {
SetDefaultKeyMap(DEFAULT_MAPPING_RETRO_STATION_CONTROLLER, false);
} else {
SetDefaultKeyMap(DEFAULT_MAPPING_ANDROID_PAD, false);
}
#else
// TODO: Should actually check for XInput?
Expand Down

0 comments on commit 0e56ed1

Please sign in to comment.