|
C4EV3
|
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 |
Constants for use with the ButtonState() function. The _EV values can be combined together using a bitwise OR operation.
| #define BTNSTATE_LONG_PRESSED_EV 0x04 |
Button is in the long pressed state.
| #define BTNSTATE_LONG_RELEASED_EV 0x08 |
Button is in the long released state.
| #define BTNSTATE_NONE 0x10 |
The default button state.
| #define BTNSTATE_PRESSED_EV 0x01 |
Button is in the pressed state.
| #define BTNSTATE_PRESSED_STATE 0x80 |
A bitmask for the button pressed state
| #define BTNSTATE_SHORT_RELEASED_EV 0x02 |
Button is in the short released state.
1.8.6