update defaults

This commit is contained in:
proddy
2025-11-08 12:27:08 +01:00
parent d65d6f49cd
commit 5613cde00f

View File

@@ -23,10 +23,10 @@
// Constructor // Constructor
PButton::PButton() { PButton::PButton() {
// Initialization of default properties // Initialization of default properties
Debounce_ = 40; // Debounce period to prevent flickering when pressing or releasing the button (in ms) Debounce_ = 40; // Debounce period to prevent flickering when pressing or releasing the button (in ms)
DblClickDelay_ = 250; // Max period between clicks for a double click event (in ms) DblClickDelay_ = 250; // Max period between clicks for a double click event (in ms)
LongPressDelay_ = 750; // Hold period for a long press event (in ms) LongPressDelay_ = 9500; // Hold period for a long press event (in ms)
VLongPressDelay_ = 3000; // Hold period for a very long press event (in ms) VLongPressDelay_ = 20000; // Hold period for a very long press event (in ms)
cb_onClick = nullptr; cb_onClick = nullptr;
cb_onDblClick = nullptr; cb_onDblClick = nullptr;