iota
1.0.0
Flexible, pipeline-based input handling.
|
Define high-level events for polling. More...
Static Public Attributes | |
int | ALWAYS = 0 |
ALWAYS run the pipeline, no matter what. More... | |
int | CHANGED = 1 |
Only run the pipeline when the input has CHANGED. More... | |
int | PRESSED = 2 |
Run the pipeline when a PRESSED action has been detected. More... | |
int | RELEASED = 3 |
The counterpart event to the PRESSED action. More... | |
int | TAPPED = 4 |
When the button/range input has been tapped, but not held sufficiently long enough to be considered a PRESSED event. More... | |
Define high-level events for polling.
This enum defines 5, higher-level event patterns that the poller can recognize. This includes ALWAYS
, CHANGED
, PRESSED
, RELEASED
, and TAPPED
. Passing anything other than these values in the second parameter of the Poller.on()
function will result in an error.
|
static |
|
static |
|
static |
|
static |
|
static |