LSH-Core
A robust C++ framework for Arduino-based home automation nodes
Loading...
Searching...
No Matches
clicktypes.hpp
Go to the documentation of this file.
1
21#ifndef LSHCORE_UTIL_CONSTANTS_CLICK_TYPES_HPP
22#define LSHCORE_UTIL_CONSTANTS_CLICK_TYPES_HPP
23
24#include <stdint.h>
25
29namespace constants
30{
35 enum class ClickType : uint8_t
36 {
37 NONE,
38 SHORT,
39 LONG,
41 };
42
47 enum class LongClickType : uint8_t
48 {
49 NONE,
50 NORMAL,
51 ON_ONLY,
53 };
54
59 enum class SuperLongClickType : uint8_t
60 {
61 NONE,
62 NORMAL,
64 };
65
70 enum class NoNetworkClickType : uint8_t
71 {
72 NONE,
75 };
76} // namespace constants
77
78#endif // LSHCORE_UTIL_CONSTANTS_CLICK_TYPES_HPP
namespace for constants.
Definition config.hpp:33
SuperLongClickType
Super long click behaviors.
Definition clicktypes.hpp:60
@ SELECTIVE
Turns off a list of selected unprotected actuators.
LongClickType
Long click behaviors.
Definition clicktypes.hpp:48
@ NORMAL
Turns on or off secondary attached actuators based on how many are on or off.
@ ON_ONLY
Turns on secondary attached actuators.
@ OFF_ONLY
Turns off secondary attached actuators.
NoNetworkClickType
Fallback for a network click that expired or receives a failover.
Definition clicktypes.hpp:71
@ LOCAL_FALLBACK
Apply local logic.
ClickType
Clickable (like button) click types.
Definition clicktypes.hpp:36
@ SUPER_LONG
Super long click.
@ SHORT
Short click.
@ NONE
Never use this, it's just a default parameter.