mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-28 12:27:24 +02:00
Always poll udev on supported platforms
Fixes https://github.com/libsdl-org/SDL/issues/13995
This commit is contained in:
@@ -973,7 +973,7 @@ static void LINUX_JoystickDetect(void)
|
||||
{
|
||||
#ifdef SDL_USE_LIBUDEV
|
||||
if (enumeration_method == ENUMERATION_LIBUDEV) {
|
||||
SDL_UDEV_Poll();
|
||||
// Polling will happen in the main event loop
|
||||
} else
|
||||
#endif
|
||||
#ifdef HAVE_INOTIFY
|
||||
|
||||
Reference in New Issue
Block a user