Initial HIDAPI driver support for the PS3 controller

This commit is contained in:
Sam Lantinga 2022-08-23 22:45:37 -07:00
parent 50c5d23f7d
commit b6f96b69aa
5 changed files with 38 additions and 2 deletions

View file

@ -52,6 +52,9 @@ static SDL_HIDAPI_DeviceDriver *SDL_HIDAPI_drivers[] = {
#ifdef SDL_JOYSTICK_HIDAPI_SHIELD
&SDL_HIDAPI_DriverShield,
#endif
#ifdef SDL_JOYSTICK_HIDAPI_PS3
&SDL_HIDAPI_DriverPS3,
#endif
#ifdef SDL_JOYSTICK_HIDAPI_PS4
&SDL_HIDAPI_DriverPS4,
#endif