mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 00:05:35 +00:00
Disable the third party PS3 HIDAPI driver by default, the L3/R3 buttons are unknown
This commit is contained in:
parent
ff99e56d3a
commit
509939b1b6
|
@ -596,9 +596,13 @@ SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverPS3 =
|
|||
static SDL_bool
|
||||
HIDAPI_DriverPS3ThirdParty_IsEnabled(void)
|
||||
{
|
||||
#if 1 /* Not enabled by default, we don't know what the L3/R3 buttons are */
|
||||
return SDL_GetHintBoolean(SDL_HINT_JOYSTICK_HIDAPI_PS3, SDL_FALSE);
|
||||
#else
|
||||
return SDL_GetHintBoolean(SDL_HINT_JOYSTICK_HIDAPI_PS3,
|
||||
SDL_GetHintBoolean(SDL_HINT_JOYSTICK_HIDAPI,
|
||||
SDL_HIDAPI_DEFAULT));
|
||||
#endif
|
||||
}
|
||||
|
||||
static SDL_bool
|
||||
|
|
Loading…
Reference in a new issue