cock.addJoystick
Adds new joystick to the object by given joystick number.
Synopsis
Function
joystick = cock.addJoystick ( self, number )
Arguments
table self
- An object to use.
number number
- Optional. LÖVE joystick number to hook up. Will use 1 if not provided.
Returns
number joystick
- Internal joystick number.
See also
- cock.deleteJoystick
- cock.setJoystickDeadzone
- cock.reloadJoysticks
- Common Organization of Controls Kit Manual
- Common Organization of Controls Kit