17 #ifndef ADJUSTABLE_BUTTON_CONFIG_H 18 #define ADJUSTABLE_BUTTON_CONFIG_H 20 #include "ButtonConfig.h" 37 virtual void init()
override {
43 return mDebounceDelay;
51 return mDoubleClickDelay;
55 return mLongPressDelay;
59 return mRepeatPressDelay;
63 return mRepeatPressInterval;
68 mDebounceDelay = debounceDelay;
73 mClickDelay = clickDelay;
78 mDoubleClickDelay = doubleClickDelay;
83 mLongPressDelay = longPressDelay;
88 mRepeatPressDelay = repeatPressDelay;
93 mRepeatPressInterval = repeatPressInterval;
103 void initInternal() {
112 uint16_t mDebounceDelay;
113 uint16_t mClickDelay;
114 uint16_t mDoubleClickDelay;
115 uint16_t mLongPressDelay;
116 uint16_t mRepeatPressDelay;
117 uint16_t mRepeatPressInterval;