SDL: Enable joystick input by default
Game controller input is now enabled whenever a compatible device is connected. The keymapper's keymaps are refreshed when a joystick is added or removed. Fixes #10366.
This commit is contained in:
parent
4428ecb349
commit
9cc2fee887
16 changed files with 95 additions and 51 deletions
|
@ -281,7 +281,7 @@ void registerDefaults() {
|
|||
#endif
|
||||
|
||||
// Miscellaneous
|
||||
ConfMan.registerDefault("joystick_num", -1);
|
||||
ConfMan.registerDefault("joystick_num", 0);
|
||||
ConfMan.registerDefault("confirm_exit", false);
|
||||
ConfMan.registerDefault("disable_sdl_parachute", false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue