:orphan: .. raw:: html .. dtcompatible:: zephyr,lvgl-encoder-input .. _dtbinding_zephyr_lvgl_encoder_input: zephyr,lvgl-encoder-input ######################### Vendor: :ref:`Zephyr-specific binding ` Description *********** .. code-block:: none LVGL encoder indev pseudo-device Listens for button/encoder input events and routes the lv_indev_data_t to the underlying encoder lv_indev_t managed by LVGL. Example configuration: encoder { compatible = "zephyr,lvgl-encoder-input"; rotation-input-code = ; button-input-code = ; }; 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 * - ``rotation-input-code`` - ``int`` - .. code-block:: none Input event code associated with rotation (INPUT_REL_*). This property is **required**. * - ``button-input-code`` - ``int`` - .. code-block:: none Input event key code for encoder button (INPUT_KEY_* or INPUT_BTN_*). * - ``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-encoder-input" compatible. (None)