SDLInputSource: Enable support for the Sixaxis driver on Windows

This commit is contained in:
TheLastRar 2025-03-09 19:41:19 +00:00
parent 9fb8dacadb
commit fd52e0832c
1 changed files with 5 additions and 0 deletions

View File

@ -553,6 +553,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__