Fixed the PS5 controller not disconnecting when powered off

This commit is contained in:
Sam Lantinga
2020-12-13 01:20:38 -08:00
parent c8ee06911b
commit 80e5c689eb
3 changed files with 35 additions and 1 deletions

View File

@@ -76,6 +76,9 @@ typedef struct _SDL_HIDAPI_Device
/* Used during scanning for device changes */
SDL_bool seen;
/* Used to flag that the device is being updated */
SDL_bool updating;
struct _SDL_HIDAPI_Device *next;
} SDL_HIDAPI_Device;