Function SDL_GameControllerGetFirmwareVersion

pub unsafe extern "C" fn SDL_GameControllerGetFirmwareVersion(
    gamecontroller: *mut _SDL_GameController,
) -> u16
Available on crate feature dep_sdl2 only.
Expand description

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

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

\param gamecontroller the game controller object to query. \return the controller firmware version, or zero if unavailable.

\since This function is available since SDL 2.24.0.