build/dts/api/bindings/input/zephyr,lvgl-pointer-input.html · build/dts/api/bindings/input/zephyr,lvgl-pointer-input.rst 공식 원문 ↗

Zephyr 3.7.0 · Devicetree · Input · Zephyr-specific binding

Zephyr LVGL Pointer Input 바인딩

Touch coordinates를 LVGL pointer input으로 전달하고 display orientation에 맞게 변환를 정의하는 4개 property schema입니다.

Official pathbuild/dts/api/bindings/input/zephyr,lvgl-pointer-input.html
Source filebuild/dts/api/bindings/input/zephyr,lvgl-pointer-input.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

공식 원문 102줄과 property 4행을 전수 대조해 source-device association·axis swap/inversion·schema requiredness mismatch 제약을 보존했습니다.

Compatible

zephyr,lvgl-pointer-input

Vendor

Zephyr-specific binding

Properties

4 rows

Interface

Touch events → LVGL pointer indev

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 F47A626D7A6064E45995AA97A9F39CEBB2C2A75B2A22A8DEE6EB775C7B5CE843
:orphan:

.. raw:: html

    <!--
    FIXME: do not limit page width until content uses another representation
    format other than tables
    -->
    <style>.wy-nav-content { max-width: none; !important }</style>

.. dtcompatible:: zephyr,lvgl-pointer-input
.. _dtbinding_zephyr_lvgl_pointer_input:

zephyr,lvgl-pointer-input
#########################

Vendor: :ref:`Zephyr-specific binding <dt_vendor_zephyr>`

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

         * - ``input``
           - ``phandle``
           - .. code-block:: none

                Input device phandle.



         * - ``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.





   .. 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)


Part 3

한국어 전문 번역

zephyr,lvgl-pointer-input

Vendor: Zephyr-specific binding

공식 설명

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>;
};

LVGL pointer indev pseudo-device

Touch input event를 LVGL이 관리하는 pointer lv_indev_t로 전달합니다. swap-xy, invert-x, invert-y로 input 좌표를 display orientation에 맞출 수 있습니다.

Description은 특정 input device에 연결해야 한다고 말하고 예제도 input = <&input_sdl_touch>를 사용합니다. 하지만 공식 property 표는 input을 필수로 표시하지 않으며 네 property 모두 선택입니다. 설명을 따라 필수 표시를 새로 넣지 않았습니다.

Scaling, clipping, display resolution과 multi-touch selection은 이 schema에 없습니다.

속성 전체 번역

공식 node-specific 4개 property를 번역했으며 base property 표는 비어 있습니다.

노드 전용 속성 · 4개
이름형식설명과 제약
inputphandleTouch event를 받을 특정 input device의 phandle입니다.
swap-xybooleanInput을 display와 맞추기 위해 X/Y axis를 바꿉니다.
invert-xbooleanInput을 display와 맞추기 위해 X axis를 반전합니다.
invert-ybooleanInput을 display와 맞추기 위해 Y axis를 반전합니다.

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.