SDL_GetJoystickType

Get the type of an opened joystick.

extern (C) nothrow @nogc extern
SDL_GetJoystickType

Parameters

joystick SDL_Joystick*

the SDL_Joystick obtained from SDL_OpenJoystick().

Return Value

The SDL_JoystickType of the selected joystick.

See Also

Meta