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

buttonsChanged

Returns information on which buttons have changed state since the previous call to read the controller.
The returned value is the combination of all the buttons that have changed or 0 if no buttons have been pressed or released.
This allows you to perform a quick check to test if anything has changed.
Syntax
SonyPS2. buttonsChanged()
Where SonyPS2 is the name you have given to the device in Project Designer.
Parameters
None
Returns
PS2_BUTTONS

 

 

Valid XHTML 1.0 Transitional