echo "Button check"

warnifpressed red port0
if warn
 echo "Left mouse button"
endif

warnifpressed red
if warn
 echo "red"
endif

warnifpressed blue
if warn
 echo "blue"
endif

warnifpressed yellow
if warn
 echo "yellow"
endif

warnifpressed green
if warn
 echo "green"
endif

warnifpressed forward
if warn
 echo "forward"
endif

warnifpressed reverse
if warn
 echo "reverse"
endif

warnifpressed play
if warn
 echo "play"
endif
