DECLARE FUNCTION DQBjoyFire (BYVAL JoyNum, BYVAL Button)
JoyNum - Joystick number to retrieve status of
Button - Button number to check
True if specified button of specified joystick is pressed, otherwise false
This function is used to check if a button of a specified joystick is being pressed. About the parameter JoyNum, please refer to the DQBjoyDetected function. The other parameter, Button, can be 0 for button A, or 1 for button B. If you're handling a 4-buttons joystick, you can also use 2 and 3 for buttons 3 and 4. As for the joystick number, also the buttons have constants named BUTA, BUTB, BUTC and BUTD declared into the file DIRECTQB.BI, and explained into appendix A.
none
See DQBjoyMove example