SDL_GetJoystickFirmwareVersion

Get the firmware version of an opened joystick, if available.

If the firmware version isn't available this function returns 0.

extern (C) nothrow @nogc extern
SDL_GetJoystickFirmwareVersion

Parameters

joystick SDL_Joystick*

the SDL_Joystick obtained from SDL_OpenJoystick().

Return Value

Type: Uint16

The firmware version of the selected joystick, or 0 if unavailable.

Meta