This commit is contained in:
JQ
2025-05-28 16:45:41 -07:00
parent 2f7aa6d9a1
commit ce87156a43
3 changed files with 3 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
// Button timing configuration
#define BUTTON_DEBOUNCE_TIME_MS 50 // Debounce time in ms
#define BUTTON_CLICK_TIMEOUT_MS 400 // Max time between clicks for multi-click
#define BUTTON_CLICK_TIMEOUT_MS 500 // Max time between clicks for multi-click
#define BUTTON_LONG_PRESS_TIME_MS 5000 // Time to trigger long press (5 seconds)
#define BUTTON_READ_INTERVAL_MS 10 // How often to read the button