WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

buttonDown

Return TRUE if the button has just been pressed or FALSE if it was already pressed or is not pressed at all.
Syntax
SonyPS2. buttonDown(button)
Where SonyPS2 is the name you have given to the device in Project Designer.
Parameters
TypeNameDescription
'button'
The single button to test.
Returns
boolean

 

 

Valid XHTML 1.0 Transitional