cock.getJoystickDeadzone

Gets joystick deadzone.

Function

Synopsis

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

Arguments

table self
An object to use.
number joystick
Optional. Internal joystick number. Will use 1 if not provided.
string joystick
Optional. Internal joystick name.
number axis
Optional. LÖVE joystick axis. Will use 1 if not provided.
string axis
Optional. Axis name.

Returns

number threshold
Deadzone threshold.

See also