Function sdl2_sys::SDL_JoystickGetProductVersion
source · pub unsafe extern "C" fn SDL_JoystickGetProductVersion(
joystick: *mut SDL_Joystick,
) -> Uint16
Expand description
Get the product version of an opened joystick, if available.
If the product version isn’t available this function returns 0.
\param joystick the SDL_Joystick obtained from SDL_JoystickOpen() \returns the product version of the selected joystick, or 0 if unavailable.
\since This function is available since SDL 2.0.6.