From 390b2cf0d3e7ccff6d648c749e1f7618a8487b39 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 22 Dec 2020 20:53:27 -0800 Subject: [PATCH] Enable PS5 enhanced functionality for testgamecontroller --- test/testgamecontroller.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/testgamecontroller.c b/test/testgamecontroller.c index 0c0d3dcae..4f4920266 100644 --- a/test/testgamecontroller.c +++ b/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 */