From a1a611181915cebced856978e85b0d9d133cb9cb Mon Sep 17 00:00:00 2001 From: CTCaer Date: Sun, 22 Jun 2025 13:39:37 +0300 Subject: [PATCH] bdk: lvgl: set long press to 5s --- bdk/libs/lv_conf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bdk/libs/lv_conf.h b/bdk/libs/lv_conf.h index 89dc5553..e11351c8 100644 --- a/bdk/libs/lv_conf.h +++ b/bdk/libs/lv_conf.h @@ -116,8 +116,8 @@ #define LV_INDEV_POINT_MARKER 0 /*Mark the pressed points (required: USE_LV_REAL_DRAW = 1)*/ #define LV_INDEV_DRAG_LIMIT 10 /*Drag threshold in pixels */ #define LV_INDEV_DRAG_THROW 20 /*Drag throw slow-down in [%]. Greater value means faster slow-down */ -#define LV_INDEV_LONG_PRESS_TIME 400 /*Long press time in milliseconds*/ -#define LV_INDEV_LONG_PRESS_REP_TIME 1000 //Fix keyb /*Repeated trigger period in long press [ms] */ +#define LV_INDEV_LONG_PRESS_TIME 5000 /*Long press time in milliseconds*/ +#define LV_INDEV_LONG_PRESS_REP_TIME 1000 //Fix lv_kb /*Repeated trigger period in long press [ms] */ /*Color settings*/ #define LV_COLOR_DEPTH 32 /*Color depth: 1/8/16/32*/