SDL_GetJoystickFirmwareVersion3
Get the firmware version of an opened joystick, if available.
Usage
#include "SDL3/SDL.h"
Uint16 SDL_GetJoystickFirmwareVersion(SDL_Joystick *joystick);
Header file
Defined in SDL3/SDL_joystick.h
Overview
If the firmware version isn't available this function returns 0.
Function parameters
- joystick
-
the
SDL_Joystick
obtained fromSDL_OpenJoystick().
Return value
( Uint16 ) Returns the firmware version of the selected joystick, or 0 if unavailable.