Skip to content

Commit

Permalink
added hint for joysticks to stablize sixaxis & dualshock controllers (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate River committed Nov 27, 2021
1 parent a6cbe0a commit 6c25aed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/testgamecontroller.c
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ main(int argc, char *argv[])
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE, "1");
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE, "1");
SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1");
SDL_SetHint(SDL_HINT_LINUX_JOYSTICK_DEADZONES, "1");

/* Enable standard application logging */
SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
Expand Down

0 comments on commit 6c25aed

Please sign in to comment.