mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-25 14:09:10 +00:00
Default SDL_HINT_JOYSTICK_GAMEINPUT to "1" on GDK platforms
This commit is contained in:
parent
ed87e7e434
commit
5b6342a00d
3 changed files with 11 additions and 6 deletions
|
@ -2005,10 +2005,6 @@ 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