BlitzPlus Docs -> 2D - A-Z -> F -> FlushJoy
Description:There are many times when you aren't interested in the dozens of possible joystick button pressed the player might have made before you are checking for one in particular. Or perhaps you want to pause the game and wait for any joystick button to be hit, but you don't want a 'queued' button press bypassing this. Use this command before you specifically want to poll a joystick button hit from the user.
; FlushJoy sample FlushJoy Print "Press a joystick button to exit!" WaitJoy() End
| WaitJoy() doesnt work under b+: it isnt recognized by the editor |
BlitzPlus Manual Forum
Blitz3D Equivalent Command