Added SDL_HINT_EVDEV_DEVICES
This commit is contained in:
1 parent
6f399c3beb
commit
afde1cc9c2
2 files changed
+16
-1
No files matched your search
@@ -198,7 +198,7 @@ int SDL_EVDEV_Init(void)
|
||||
where device class is an integer representing the
|
||||
SDL_UDEV_deviceclass and path is the full path to
|
||||
the event device. */
|
||||
const char *devices = SDL_getenv("SDL_EVDEV_DEVICES");
|
||||
const char *devices = SDL_GetHint(SDL_HINT_EVDEV_DEVICES);
|
||||
if (devices) {
|
||||
/* Assume this is the old use of the env var and it is not in
|
||||
ROM. */
|
||||
|
||||
Reference in new issue
Block a user