cock.getJoystickHatMode
Gets joystick hat mode.
Synopsis
Function
mode = cock.getJoystickHatMode ( self, joystick, hat )
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 hat
- Optional. LÖVE joystick hat. Will use 1 if not provided.
string hat
- Optional. Hat name.
Returns
number mode
- Optional. Hat mode number.
See also
- cock.setJoystickHatMode
- cock.setJoystickDeadzone
- cock.remapJoystickHat
- Common Organization of Controls Kit Hat modes
- Common Organization of Controls Kit Input devices
- Common Organization of Controls Kit Manual
- Common Organization of Controls Kit