NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ButtonState constants

Constants for use with the ButtonState() function. More...

Macros

#define BTNSTATE_PRESSED_EV   0x01
 
#define BTNSTATE_SHORT_RELEASED_EV   0x02
 
#define BTNSTATE_LONG_PRESSED_EV   0x04
 
#define BTNSTATE_LONG_RELEASED_EV   0x08
 
#define BTNSTATE_PRESSED_STATE   0x80
 
#define BTNSTATE_NONE   0x10
 

Detailed Description

Constants for use with the ButtonState() function.

The _EV values can be combined together using a bitwise OR operation.

See Also
ButtonState()