AMOSi:Jup
an example can be found on AMOSPro_Examples:Examples/H-6/Help_68.AMOS
Returns a value of True(-1) if the joystick has been yanked up, otherwise zero.
Print Jup(portnumber)
portnumber=1 for the joystick socket, or 0 for the mouse port.