Function sdl2_sys::SDL_JoystickGetDeviceType
source ยท pub unsafe extern "C" fn SDL_JoystickGetDeviceType(
device_index: c_int,
) -> SDL_JoystickType
Expand description
Get the type of a joystick, if available. This can be called before any joysticks are opened.