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

Query if a joystick has haptic features.

\param joystick the SDL_Joystick to test for haptic capabilities \returns SDL_TRUE if the joystick is haptic, SDL_FALSE if it isn’t, or a negative error code on failure; call SDL_GetError() for more information.

\since This function is available since SDL 2.0.0.

\sa SDL_HapticOpenFromJoystick