[−][src]Function sdl2_sys::SDL_JoystickIsHaptic
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 SDL_TRUE if the joystick is haptic, SDL_FALSE if it isn't or -1 if an error occurred.
\sa SDL_HapticOpenFromJoystick