Function sdl2_sys::SDL_JoystickIsHaptic
[−]
[src]
pub unsafe extern "C" fn SDL_JoystickIsHaptic(
joystick: *mut SDL_Joystick
) -> c_int
\brief Checks to see if a joystick has haptic features.
\param joystick Joystick to test for haptic capabilities. \return 1 if the joystick is haptic, 0 if it isn't or -1 if an error ocurred.
\sa SDL_HapticOpenFromJoystick