BUTTON

BUTTON (n)
Returns 1 if Joystick Button n is being pressed; 0 if Joystick Button n is not being pressed.

n can be:
0 – Right joystick, Button 1 (old joystick)
1 – Right joystick, Button 2
2 – Left joystick, Button 1 (old joystick)
3 – Left joystick, Button 2

A=BUTTON(0)

POSSIBLE IMPROVEMENTS

Support for CoCoPSG joystick button ports too

Support for extended SEGA buttons

RTS

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies