mirror of https://github.com/PCSX2/pcsx2.git
SDLInputSource: Enable support for the Sixaxis driver on Windows
This commit is contained in:
parent
9fb8dacadb
commit
fd52e0832c
|
@ -553,6 +553,11 @@ void SDLInputSource::SetHints()
|
||||||
// Gets us pressure sensitive button support on Linux
|
// Gets us pressure sensitive button support on Linux
|
||||||
// Apparently doesn't work on Windows, so leave it off there
|
// Apparently doesn't work on Windows, so leave it off there
|
||||||
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS3, "1");
|
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
|
#endif
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
|
Loading…
Reference in New Issue