From 34c545ef19dc97c8952a412e533a4cd3924b9fbc Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Wed, 1 Feb 2023 10:42:03 +0100 Subject: [PATCH] docs(indev): fix the name of long_press_repeat_time (was long_press_rep_time) fixes #3954 --- docs/porting/indev.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/porting/indev.md b/docs/porting/indev.md index 0066f56d2..50958a055 100644 --- a/docs/porting/indev.md +++ b/docs/porting/indev.md @@ -114,7 +114,7 @@ You need to have 3 buttons available: - `LV_KEY_RIGHT` will simulate turning encoder right - other keys will be passed to the focused widget -If you hold the keys it will simulate an encoder advance with period specified in `indev_drv.long_press_rep_time`. +If you hold the keys it will simulate an encoder advance with period specified in `indev_drv.long_press_repeat_time`. ```c indev_drv.type = LV_INDEV_TYPE_ENCODER; @@ -172,7 +172,7 @@ The default value of the following parameters can be changed in `lv_indev_drv_t` - `scroll_limit` Number of pixels to slide before actually scrolling the object. - `scroll_throw` Scroll throw (momentum) slow-down in [%]. Greater value means faster slow-down. - `long_press_time` Press time to send `LV_EVENT_LONG_PRESSED` (in milliseconds) -- `long_press_rep_time` Interval of sending `LV_EVENT_LONG_PRESSED_REPEAT` (in milliseconds) +- `long_press_repeat_time` Interval of sending `LV_EVENT_LONG_PRESSED_REPEAT` (in milliseconds) - `read_timer` pointer to the `lv_timer` which reads the input device. Its parameters can be changed by `lv_timer_...()` functions. `LV_INDEV_DEF_READ_PERIOD` in `lv_conf.h` sets the default read period. ### Feedback