SDL_GetJoystickProductVersion

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

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

extern (C) nothrow @nogc extern
SDL_GetJoystickProductVersion

Parameters

joystick SDL_Joystick*

the SDL_Joystick obtained from SDL_OpenJoystick().

Return Value

Type: Uint16

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

See Also

Meta