Added a function to get the controller firmware version

This commit is contained in:
Sam Lantinga
2022-06-03 18:49:41 -07:00
parent d6143ab369
commit 423141bfca
8 changed files with 45 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ struct _SDL_Joystick
char *path; /* Joystick path - system dependent */
char *serial; /* Joystick serial */
SDL_JoystickGUID guid; /* Joystick guid */
Uint16 firmware_version; /* Firmware version, if available */
int naxes; /* Number of axis controls on the joystick */
SDL_JoystickAxisInfo *axes;