NXC
Version 1.2.1 r5
|
|
inline |
Read button information.
Read the specified button. Set the pressed and count parameters with the current state of the button. Optionally reset the press count after reading it.
btn | The button to check. See Button name constants. |
reset | Whether or not to reset the press counter. |
pressed | The button pressed state. |
count | The button press count. |