Explorar o código

Enable PS5 enhanced functionality for testgamecontroller

Sam Lantinga %!s(int64=4) %!d(string=hai) anos
pai
achega
390b2cf0d3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      test/testgamecontroller.c

+ 1 - 0
test/testgamecontroller.c

@@ -433,6 +433,7 @@ main(int argc, char *argv[])
 
     SDL_SetHint(SDL_HINT_ACCELEROMETER_AS_JOYSTICK, "0");
     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");
 
     /* Enable standard application logging */