:orphan: .. raw:: html .. dtcompatible:: zephyr,lvgl-button-input .. _dtbinding_zephyr_lvgl_button_input: zephyr,lvgl-button-input ######################## Vendor: :ref:`Zephyr-specific binding ` Description *********** .. code-block:: none LVGL button indev pseudo-device Listens for button input events and routes the lv_indev_data_t to the underlying button lv_indev_t managed by LVGL. Example configuration: pointer { compatible = "zephyr,lvgl-button-input"; input = <&buttons>; input-codes = ; coordinates = <120 220>, <150 250>; }; When the device receives an input_event with code INPUT_KEY_0 a click event will be performed at (120,220). 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-codes`` - ``array`` - .. code-block:: none Array of input event key codes (INPUT_KEY_* or INPUT_BTN_*). This property is **required**. * - ``coordinates`` - ``array`` - .. code-block:: none Array of points (x,y) the associated input-code is mapped to. * - ``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-button-input" compatible. (None)