Buttons

boolean BUTTONAclicked()

Check if Button A has been clicked (pressed-released) since the last check.

Click state will be reset after checking, means calling this method twice it will report true, false.

return true if yes, false if no.

boolean BUTTONBclicked()

Check if Button B has been clicked (pressed-released) since the last check.

Click state will be reset after checking,means calling this method twice it will report true, false.

return true if yes, false if no.

boolean BUTTONAdown()

Check if Button A is pressed right now.

return true if yes, false if no.

boolean BUTTONBdown()

Check if Button B is pressed right now.

return true if yes, false if no.