JoyHit
Number of presses since last checked.
JoyHit ( button[,port] )
Parameters
- button
- the button's number, counting from 1.
- port (optional)
- which controller, counting from 0.
Description
Gives back how many times a joystick button has been pressed since the last time you asked, and starts counting again from 0.
