mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-03 20:20:38 +08:00
14 lines
622 B
Markdown
14 lines
622 B
Markdown
# Keypad and Encoder demo
|
|
|
|
## Overview
|
|
|
|
LVGL allows you to control the widgets with keypad and/or encoder without touchpad.
|
|
This demo shows how to handle buttons, drop-down lists, rollers, sliders, switches and text inputs without touchpad.
|
|
Learn more about the touchpad-less usage of LVGL [here](https://docs.lvgl.io/master/porting/indev.html#keypad-or-keyboard).
|
|
|
|

|
|
|
|
## Run the demo
|
|
- In `lv_conf.h` or equivalent places set `LV_USE_DEMO_KEYPAD_AND_ENCODER 1`
|
|
- After `lv_init()` and initializing the drivers call `lv_demo_keypad_encoder()`
|