How do you add controller support for game?
help
Controller inputs (gamepad) The status of the buttons and joysticks on the controller (gamepad) can be tested using the "gamepad" object.
example if gamepad.UP then y += 1 end Tip: To get a complete list of the fields of the "gamepad" object, simply type "gamepad" in the console when your program is running.
In the same way as for keyboard key presses, you can use gamepad.press. to check whether a button was just pressed or gamepad.release. to check whether a button was just released.
thx
yw