mirror of
https://github.com/encounter/SDL.git
synced 2025-05-23 15:51:23 +00:00
Re-enable udev joystick enumeration by default
This commit is contained in:
parent
dfb834d3d4
commit
65a50b2430
@ -631,7 +631,7 @@ LINUX_JoystickInit(void)
|
||||
|
||||
#if SDL_USE_LIBUDEV
|
||||
if (enumeration_method == ENUMERATION_UNSET) {
|
||||
if (!SDL_GetHintBoolean("SDL_JOYSTICK_DISABLE_UDEV", SDL_FALSE)) {
|
||||
if (SDL_GetHintBoolean("SDL_JOYSTICK_DISABLE_UDEV", SDL_FALSE)) {
|
||||
SDL_LogDebug(SDL_LOG_CATEGORY_INPUT,
|
||||
"udev disabled by SDL_JOYSTICK_DISABLE_UDEV");
|
||||
enumeration_method = ENUMERATION_FALLBACK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user