mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 19:38:06 -04:00
Enable bluetooth gyro support for DualShock 4 and DualSense
This commit is contained in:
parent
9b91cec258
commit
31d7a39490
@ -415,6 +415,10 @@ void I_InitGamepad(void)
|
||||
return;
|
||||
}
|
||||
|
||||
// Enable bluetooth gyro support for DualShock 4 and DualSense.
|
||||
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE, "1");
|
||||
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE, "1");
|
||||
|
||||
if (SDL_Init(SDL_INIT_GAMECONTROLLER) < 0)
|
||||
{
|
||||
I_Printf(VB_WARNING,
|
||||
|
Loading…
x
Reference in New Issue
Block a user