Added SDL_HIDAPI_DISABLED so it can be disabled like other SDL subsystems

This commit is contained in:
Sam Lantinga 2021-11-08 07:19:45 -08:00
parent 2a6feb5011
commit b8327a4a48
11 changed files with 23 additions and 13 deletions

View file

@ -205,6 +205,9 @@ typedef unsigned int uintptr_t;
#define SDL_HAPTIC_XINPUT 1
#endif
/* WinRT doesn't have HIDAPI available */
#define SDL_HIDAPI_DISABLED 1
/* Enable the dummy sensor driver */
#define SDL_SENSOR_DUMMY 1