INT joy_getball ( [ <INT JoyID> ] , <POINTER dx> , <POINTER dy>)
Returns the state of the specfied ball on the current selected joystick.
The JoyID is optional, if it is not present, the function uses the selected joystick. You can change the selected joystick with joy_select().
|[INT JoyID]||- The JoyID of the joystick.|
|POINTER dx||- A pointer to the variable X of the ball.|
|POINTER dy||- A pointer to the variable Y of the ball.|
INT : The state of the specfied ball on the current selected joystick.