waitBjoy()

Halts the program execution and wait for the pression of joystick button by the user.

Syntax:
waitBjoy(  value )
waitBjoy

value = joystick button to be pressed to continue program execution
if no value is specify, then, any joystick button is taken in count.

Example: