JoystickButton()
Syntax
Result = JoystickButton(ButtonNumber)Description
Returns 0 if the specified button is not pressed, else it returns a non null value. Any number of buttons can be pressed at the same time. ExamineJoystick() must be called before this function to update the actual button's state. The first button number starts at 1.
Supported OS
Windows, Linux, AmigaOS