mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-21 20:28:28 +00:00
Added SDL_HINT_EVDEV_DEVICES
This commit is contained in:
parent
6f399c3beb
commit
afde1cc9c2
2 changed files with 16 additions and 1 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue