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
- cock.setJoystickDeadzone
- Common Organization of Controls Kit Input keys
- Common Organization of Controls Kit Manual
- Common Organization of Controls Kit