From 5613cde00f4a042984d4766b03536ee0d587d932 Mon Sep 17 00:00:00 2001 From: proddy Date: Sat, 8 Nov 2025 12:27:08 +0100 Subject: [PATCH] update defaults --- lib/PButton/PButon.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/PButton/PButon.cpp b/lib/PButton/PButon.cpp index 8324b7728..0b0ece9f1 100644 --- a/lib/PButton/PButon.cpp +++ b/lib/PButton/PButon.cpp @@ -23,10 +23,10 @@ // Constructor PButton::PButton() { // Initialization of default properties - 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) - LongPressDelay_ = 750; // Hold period for a long press event (in ms) - VLongPressDelay_ = 3000; // Hold period for a very long press event (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) + LongPressDelay_ = 9500; // Hold period for a long press event (in ms) + VLongPressDelay_ = 20000; // Hold period for a very long press event (in ms) cb_onClick = nullptr; cb_onDblClick = nullptr;