docs(gesture): describe how prevent sending events after a gesture

Related to #3211
This commit is contained in:
Gabor Kiss-Vamosi
2022-04-19 10:11:16 +02:00
committed by GitHub
parent 0fdd5d6449
commit 65db5c99e0

View File

@@ -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.