mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-25 14:09:10 +00:00
test: enable GameInput driver on GDK platforms
By default, it's the only driver available on Xbox, but disabled.
This commit is contained in:
parent
acb18e05b5
commit
ed87e7e434
1 changed files with 4 additions and 0 deletions
|
@ -2005,6 +2005,10 @@ int main(int argc, char *argv[])
|
|||
SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1");
|
||||
SDL_SetHint(SDL_HINT_JOYSTICK_LINUX_DEADZONES, "1");
|
||||
|
||||
#if SDL_PLATFORM_GDK
|
||||
SDL_SetHint(SDL_HINT_JOYSTICK_GAMEINPUT, "1");
|
||||
#endif
|
||||
|
||||
/* Enable input debug logging */
|
||||
SDL_SetLogPriority(SDL_LOG_CATEGORY_INPUT, SDL_LOG_PRIORITY_DEBUG);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue