LSH-Core
A robust C++ framework for Arduino-based home automation nodes
Loading...
Searching...
No Matches
clickresults.hpp
Go to the documentation of this file.
1
21#ifndef LSHCORE_UTIL_CONSTANTS_CLICK_RESULTS_HPP
22#define LSHCORE_UTIL_CONSTANTS_CLICK_RESULTS_HPP
23
24#include <stdint.h>
25
29namespace constants
30{
54} // namespace constants
55
56#endif // LSHCORE_UTIL_CONSTANTS_CLICK_RESULTS_HPP
namespace for constants.
Definition config.hpp:33
ClickResult
Result of clickable click detection via clickDetection().
Definition clickresults.hpp:36
@ SHORT_CLICK_QUICK
Short click detected, if it's not long and super long clickable.
@ NOT_VALID
Clickable is not valid.
@ NO_CLICK_TOO_EARLY_FOR_A_LONG_CLICK
The clickable is released too early to be a long click.
@ NO_CLICK_TOO_LATE_FOR_A_SHORT_CLICK
The clickable is released too late to be a short click.
@ NO_CLICK_NOT_SUPER_LONG_CLICKABLE
Detected a super long click but the clickable is not super long clickable.
@ SUPER_LONG_CLICK
Super long click detected.
@ NO_CLICK_KEEPING_CLICKED
The clickable is kept clicked after super long press.
@ NO_CLICK_TOO_EARLY_FOR_A_SUPER_LONG_CLICK
The clickable is released too early to be a super long click.
@ NO_CLICK_DEBOUNCE_NOT_ELAPSED
Debounce time not elapsed.
@ NO_CLICK_NOT_LONG_CLICKABLE
Detected a long click but the clickable is not long clickable.
@ NO_CLICK_NOT_LONG_OR_SUPER_LONG_CLICKABLE
Detected a long or super long click but the clickable is not long or super long clickable.
@ SHORT_CLICK
Short click detected.
@ NO_CLICK
No click detected.
@ LONG_CLICK
Long click detected.
@ NO_CLICK_NOT_SHORT_CLICKABLE
Detected a short click but the clickable is not short clickable.