Added support for third party PS3 controllers to the HIDAPI driver

This commit is contained in:
Sam Lantinga 2022-09-23 02:39:35 -07:00
parent 5b4c10fc7b
commit 51fefd1c35
3 changed files with 304 additions and 0 deletions

View file

@ -57,6 +57,7 @@ static SDL_HIDAPI_DeviceDriver *SDL_HIDAPI_drivers[] = {
#endif
#ifdef SDL_JOYSTICK_HIDAPI_PS3
&SDL_HIDAPI_DriverPS3,
&SDL_HIDAPI_DriverPS3ThirdParty,
#endif
#ifdef SDL_JOYSTICK_HIDAPI_PS4
&SDL_HIDAPI_DriverPS4,