Moved the PS5 controller driver to a separate file, as the advanced feature protocol is very different from that of the PS4

This commit is contained in:
Sam Lantinga 2020-11-05 17:03:28 -08:00
parent bd2dd3f6bb
commit a22beef402
8 changed files with 503 additions and 184 deletions

View file

@ -63,6 +63,9 @@ static SDL_HIDAPI_DeviceDriver *SDL_HIDAPI_drivers[] = {
#ifdef SDL_JOYSTICK_HIDAPI_PS4
&SDL_HIDAPI_DriverPS4,
#endif
#ifdef SDL_JOYSTICK_HIDAPI_PS5
&SDL_HIDAPI_DriverPS5,
#endif
#ifdef SDL_JOYSTICK_HIDAPI_STEAM
&SDL_HIDAPI_DriverSteam,
#endif