pub unsafe extern "C" fn SDL_JoystickGetType(
    joystick: *mut SDL_Joystick
) -> SDL_JoystickType
Expand description

Get the type of an opened joystick.

\param joystick the SDL_Joystick obtained from SDL_JoystickOpen() \returns the SDL_JoystickType of the selected joystick.

\since This function is available since SDL 2.0.6.