cock.getJoystickDeadzone

Gets joystick deadzone.

Synopsis

Function

threshold = cock.getJoystickDeadzone ( self, joystick, axis )

Arguments

table self
An object to use.
number joystick
Internal joystick number.
string joystick
Internal joystick name.
number axis
Optional. LÖVE joystick axis.
string axis
Optional. Axis name.

Returns

number threshold
Deadzone threshold.

Remarks

Axis parameter is optional. If not provided, function will return threshold for axis #1.

See also