:orphan:
.. raw:: html
.. dtcompatible:: zephyr,lvgl-pointer-input
.. _dtbinding_zephyr_lvgl_pointer_input:
zephyr,lvgl-pointer-input
#########################
Vendor: :ref:`Zephyr-specific binding `
.. note::
An implementation of a driver matching this compatible is available in
:zephyr_file:`modules/lvgl/input/lvgl_pointer_input.c`.
Description
***********
.. code-block:: none
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
**********
.. tabs::
.. group-tab:: Node specific properties
Properties not inherited from the base binding file.
.. list-table::
:widths: 1 1 4
:header-rows: 1
* - Name
- Type
- Details
* - ``swap-xy``
- ``boolean``
- .. code-block:: none
Swap x-y axes to align input with the display.
* - ``invert-x``
- ``boolean``
- .. code-block:: none
Invert x axes to align input with the display.
* - ``invert-y``
- ``boolean``
- .. code-block:: none
Invert y axes to align input with the display.
* - ``input``
- ``phandle``
- .. code-block:: none
Input device phandle.
.. group-tab:: Deprecated node specific properties
Deprecated properties not inherited from the base binding file.
(None)
.. group-tab:: 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)