JoyWait ( [port] )

Print "Press a button on the joystick"

button=JoyWait()

; Wait for user to hit ESC
Print "You pressed button # " + button + "! Hit ESC To End"

While Not KeyHit(1)
Wend

Index