Allow testing effects on PS4 controllers

Note, this will switch the controller into advanced report mode which breaks DirectInput on Windows
Sam Lantinga 2020-11-21 18:01:23 -08:00
parent 2e8e3854b8
commit 75721b191c
1 changed files with 1 additions and 0 deletions

View File

@ -339,6 +339,7 @@ main(int argc, char *argv[])
char guid[64];
SDL_SetHint(SDL_HINT_ACCELEROMETER_AS_JOYSTICK, "0");
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE, "1");
/* Enable standard application logging */
SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);