[][src]Function sdl2_sys::SDL_JoystickGetDeviceType

pub unsafe extern "C" fn SDL_JoystickGetDeviceType(
    device_index: c_int
) -> SDL_JoystickType

Get the type of a joystick, if available. This can be called before any joysticks are opened.