NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
Button module functions

Functions for accessing and modifying Button module features. More...

Functions

bool ButtonPressed (const byte btn, bool resetCount=false)
 Check for button press.
 
byte ButtonCount (const byte btn, bool resetCount=false)
 Get button press count.
 
char ReadButtonEx (const byte btn, bool reset, bool &pressed, unsigned int &count)
 Read button information.
 
byte ButtonPressCount (const byte btn)
 Get button press count.
 
byte ButtonLongPressCount (const byte btn)
 Get button long press count.
 
byte ButtonShortReleaseCount (const byte btn)
 Get button short release count.
 
byte ButtonLongReleaseCount (const byte btn)
 Get button long release count.
 
byte ButtonReleaseCount (const byte btn)
 Get button release count.
 
byte ButtonState (const byte btn)
 Get button state.
 
void SetButtonLongPressCount (const byte btn, const byte n)
 Set button long press count.
 
void SetButtonLongReleaseCount (const byte btn, const byte n)
 Set button long release count.
 
void SetButtonPressCount (const byte btn, const byte n)
 Set button press count.
 
void SetButtonReleaseCount (const byte btn, const byte n)
 Set button release count.
 
void SetButtonShortReleaseCount (const byte btn, const byte n)
 Set button short release count.
 
void SetButtonState (const byte btn, const byte state)
 Set button state.
 
void SysReadButton (ReadButtonType &args)
 Read button.
 

Detailed Description

Functions for accessing and modifying Button module features.