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

Node specific 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.

Deprecated node specific properties

Deprecated properties not inherited from the base binding file.

(None)

Base properties

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-pointer-input” compatible.

(None)