Joystick:isSensorEnabled

Available since LÖVE 12.0
This method is not supported in earlier versions.

Gets whether the specified sensor is currently enabled on this Joystick.

Function

Synopsis

enabled = Joystick:isSensorEnabled( sensorType )

Arguments

SensorType sensorType
Type of sensor to check.

Returns

boolean enabled
Whether the sensor is currently enabled.

See Also

Other Languages