Android: Fix bug where autoconfigure for unknown pad types didn't do anything, instead of just doing the defaults.

This commit is contained in:
Henrik Rydgård committed 2023-08-24 11:08:52 +02:00
1 parent 2b7fe0d729
commit 0e56ed1f38
1 file changed
+2
+2
View File
@@ -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?