diff options
author | Sam Lantinga <slouken@libsdl.org> | 2020-12-22 20:53:27 -0800 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2020-12-22 20:53:27 -0800 |
commit | 69f55fefcc2ced38de23ca73f4156e509217c223 (patch) | |
tree | 08165ee0f34300a2922babc6537d872126ba9129 /test | |
parent | 68273277c555b3ccb394f85b1dc6878125a10719 (diff) | |
download | sdl-69f55fefcc2ced38de23ca73f4156e509217c223.tar.gz |
Enable PS5 enhanced functionality for testgamecontroller
Diffstat (limited to 'test')
-rw-r--r-- | test/testgamecontroller.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |