zephyr,lvgl-pointer-input

Vendor: Zephyr-specific binding

Note

An implementation of a driver matching this compatible is available in modules/lvgl/input/lvgl_pointer_input.c.

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

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.

input

phandle

Input device phandle.