1# Copyright 2023 Fabian Blatz <fabianblatz@gmail.com>
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  LVGL pointer indev pseudo-device
6
7  Listens for touch input events and routes the
8  lv_indev_data_t to the underlying pointer lv_indev_t managed by LVGL.
9
10  Needs to be associated to a specific device to listen for events
11  from that device. Example configuration:
12
13  pointer {
14          compatible = "zephyr,lvgl-pointer-input";
15          input = <&input_sdl_touch>;
16  };
17
18compatible: "zephyr,lvgl-pointer-input"
19
20include: zephyr,lvgl-common-input.yaml
21
22properties:
23  swap-xy:
24    type: boolean
25    description: |
26      Swap x-y axes to align input with the display.
27
28  invert-x:
29    type: boolean
30    description: |
31      Invert x axes to align input with the display.
32
33  invert-y:
34    type: boolean
35    description: |
36      Invert y axes to align input with the display.
37