lv_conf: reduce LV_INDEV_DEF_READ_PERIOD to 5 ms
Reduce the timer from 30 ms to 5 ms to fix complaints by libinput about event processing being too slow: libinput error: event4 - AT Translated Set 2 keyboard: client bug: event processing lagging behind by 35ms, your system is too slow With this patch, there is still the problem that not all characters get picked up when typing fast (issue 36). Note that before switching lvgl to the release/3.8 branch, it was using LV_DEF_REFR_PERIOD instead of LV_INDEV_DEF_READ_PERIOD for creating the lv_indev_read_timer_cb timer.
This commit is contained in:
parent
d2a8b993ab
commit
9a925617de
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@
|
|||
#define LV_DISP_DEF_REFR_PERIOD 30 /*[ms]*/
|
||||
|
||||
/*Input device read period in milliseconds*/
|
||||
#define LV_INDEV_DEF_READ_PERIOD 30 /*[ms]*/
|
||||
#define LV_INDEV_DEF_READ_PERIOD 5 /*[ms]*/
|
||||
|
||||
/*Use a custom tick source that tells the elapsed time in milliseconds.
|
||||
*It removes the need to manually update the tick with `lv_tick_inc()`)*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue