zephyr,lvgl-encoder-input
Vendor: Zephyr-specific binding
Description
LVGL encoder indev pseudo-device
Listens for button/encoder input events and routes the
lv_indev_data_t to the underlying encoder lv_indev_t managed by LVGL.
Example configuration:
encoder {
compatible = "zephyr,lvgl-encoder-input";
rotation-input-code = <INPUT_REL_Y>;
button-input-code = <INPUT_KEY_0>;
};
Properties
Properties not inherited from the base binding file.
Name |
Type |
Details |
---|---|---|
|
|
Input device phandle.
|
|
|
Input event code associated with rotation (INPUT_REL_*).
This property is required. |
|
|
Input event key code for encoder button (INPUT_KEY_* or INPUT_BTN_*).
|
Deprecated properties not inherited from the base binding file.
(None)
Properties inherited from the base binding file, which defines common properties that may be set on many nodes. Not all of these may apply to the “zephyr,lvgl-encoder-input” compatible.
(None)