joystick: Add HIDAPI driver for NVIDIA SHIELD 2017 controller

Basic input already works using the OS HID driver, but this enables
force feedback and battery state reporting.
This commit is contained in:
Cameron Gutman 2022-07-09 22:55:36 -05:00 committed by Sam Lantinga
parent 3242265ff1
commit 6e712d2440
15 changed files with 499 additions and 3 deletions

View file

@ -49,6 +49,9 @@ static SDL_HIDAPI_DeviceDriver *SDL_HIDAPI_drivers[] = {
#ifdef SDL_JOYSTICK_HIDAPI_LUNA
&SDL_HIDAPI_DriverLuna,
#endif
#ifdef SDL_JOYSTICK_HIDAPI_SHIELD
&SDL_HIDAPI_DriverShield,
#endif
#ifdef SDL_JOYSTICK_HIDAPI_PS4
&SDL_HIDAPI_DriverPS4,
#endif