The latest development version of this page may be more current than this released 3.7.0 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.