Skip to content

SdlIsJoystickHaptic

Query if a joystick has haptic features.

Definition

Unit: Neslib.Sdl3.Haptic

function SdlIsJoystickHaptic(const AJoystick: TSdlJoystick): Boolean; inline

Parameters

AJoystick: TSdlJoystick : The joystick to test for haptic capabilities.

Returns

Boolean: True if the joystick is haptic or False if it isn't.

See Also