SDLInputSource: Enable support for the Sixaxis driver on Windows

This commit is contained in:
TheLastRar 2025-03-09 19:41:19 +00:00 committed by Ty
parent 01120f6120
commit 18a7e8b22c
1 changed files with 5 additions and 0 deletions

View File

@ -555,6 +555,11 @@ void SDLInputSource::SetHints()
// Gets us pressure sensitive button support on Linux
// Apparently doesn't work on Windows, so leave it off there
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS3, "1");
#else
// Use the Sixaxis driver (or DsHidMini in SXS mode).
// We don't support DsHidMini's SDF mode as none of the
// PS3 hints allow accessing all the pressure sense axis.
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS3_SIXAXIS_DRIVER, "1");
#endif
#ifdef __APPLE__