Check if a joystick button is pressed. * If the joystick is not connected, this function returns false. *
Index of the joystick
Button to check *
true if the button is pressed, false otherwise.
See Implementation
Check if a joystick button is pressed. * If the joystick is not connected, this function returns false. *