mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
docs(indev): add comment in input device part (#3422)
This commit is contained in:
parent
549e70099e
commit
cb9a297bc5
@ -5,6 +5,7 @@
|
||||
To register an input device an `lv_indev_drv_t` variable has to be initialized. **Be sure to register at least one display before you register any input devices.**
|
||||
|
||||
```c
|
||||
/*Register at least one display before you register any input devices*/
|
||||
lv_disp_drv_register(&disp_drv);
|
||||
|
||||
static lv_indev_drv_t indev_drv;
|
||||
|
Loading…
x
Reference in New Issue
Block a user