LSH-Core
Deterministic firmware core for Controllino-based Labo Smart Home nodes
 
Loading...
Searching...
No Matches
click_types.hpp
Go to the documentation of this file.
1
21#ifndef LSH_CORE_UTIL_CONSTANTS_CLICK_TYPES_HPP
22#define LSH_CORE_UTIL_CONSTANTS_CLICK_TYPES_HPP
23
24#include <stdint.h>
25
29namespace constants
30{
35enum class ClickType : uint8_t
36{
37 NONE,
38 SHORT,
39 LONG,
41};
42
47enum class LongClickType : uint8_t
48{
49 NONE,
50 NORMAL,
51 ON_ONLY,
53};
54
59enum class SuperLongClickType : uint8_t
60{
61 NONE,
62 NORMAL,
64};
65
70enum class NoNetworkClickType : uint8_t
71{
72 NONE,
75};
76} // namespace constants
77
78#endif // LSH_CORE_UTIL_CONSTANTS_CLICK_TYPES_HPP
Namespace that groups compile-time constants.
Definition config.hpp:33
SuperLongClickType
Super long click behaviors.
Definition click_types.hpp:60
@ SELECTIVE
Turns off a list of selected unprotected actuators.
LongClickType
Long click behaviors.
Definition click_types.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 click_types.hpp:71
@ LOCAL_FALLBACK
Apply local logic.
ClickType
Clickable (like button) click types.
Definition click_types.hpp:36
@ SUPER_LONG
Super long click.
@ SHORT
Short click.
@ NONE
Never use this, it's just a default parameter.