mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
docs(gesture): describe how prevent sending events after a gesture
Related to #3211
This commit is contained in:
parent
0fdd5d6449
commit
65db5c99e0
@ -66,6 +66,8 @@ To prevent passing the gesture event to the parent from an object use `lv_obj_cl
|
||||
|
||||
Note that, gestures are not triggered if an object is being scrolled.
|
||||
|
||||
If you did some action on a gesture you can call `lv_indev_wait_release(lv_indev_act())` in the event handler to prevent LVGL sending further input device related events.
|
||||
|
||||
## Keypad and encoder
|
||||
|
||||
You can fully control the user interface without a touchpad or mouse by using a keypad or encoder(s). It works similar to the *TAB* key on the PC to select an element in an application or a web page.
|
||||
|
Loading…
x
Reference in New Issue
Block a user