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.
Supported OS
Windows, AmigaOS