25 #ifndef ACE_BUTTON_ADJUSTABLE_BUTTON_CONFIG_H 26 #define ACE_BUTTON_ADJUSTABLE_BUTTON_CONFIG_H 28 #include "ButtonConfig.h" 45 virtual void init()
override {
51 return mDebounceDelay;
59 return mDoubleClickDelay;
63 return mLongPressDelay;
67 return mRepeatPressDelay;
71 return mRepeatPressInterval;
76 mDebounceDelay = debounceDelay;
81 mClickDelay = clickDelay;
86 mDoubleClickDelay = doubleClickDelay;
91 mLongPressDelay = longPressDelay;
96 mRepeatPressDelay = repeatPressDelay;
101 mRepeatPressInterval = repeatPressInterval;
111 void initInternal() {
120 uint16_t mDebounceDelay;
121 uint16_t mClickDelay;
122 uint16_t mDoubleClickDelay;
123 uint16_t mLongPressDelay;
124 uint16_t mRepeatPressDelay;
125 uint16_t mRepeatPressInterval;