NXC Version 1.2.1 r5
Get button press count.
Return the number of times the specified button has been pressed since the last time the button press count was reset. Optionally clear the count after reading it.
|btn||The button to check. See Button name constants.|
|resetCount||Whether or not to reset the press counter.|