This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

zephyr,lvgl-pointer-input

Vendor: Zephyr-specific binding

Description

LVGL pointer indev pseudo-device

Listens for touch input events and routes the
lv_indev_data_t to the underlying pointer lv_indev_t managed by LVGL.

Needs to be associated to a specific device to listen for events
from that device. Example configuration:

pointer {
        compatible = "zephyr,lvgl-pointer-input";
        input = <&input_sdl_touch>;
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

input

phandle

Input device phandle.

swap-xy

boolean

Swap x-y axes to align input with the display.

invert-x

boolean

Invert x axes to align input with the display.

invert-y

boolean

Invert y axes to align input with the display.