Lines Matching +full:input +full:- +full:code
4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
8 #include <zephyr/dt-bindings/lvgl/lvgl.h>
16 compatible = "gpio-qdec";
18 steps-per-period = <4>;
20 sample-time-us = <2000>;
21 idle-timeout-ms = <200>;
25 compatible = "gpio-keys";
29 zephyr,code = <INPUT_KEY_R>;
34 zephyr,code = <INPUT_KEY_B>;
39 zephyr,code = <INPUT_KEY_0>;
44 zephyr,code = <INPUT_KEY_LEFT>;
49 zephyr,code = <INPUT_KEY_RIGHT>;
54 zephyr,code = <INPUT_KEY_ENTER>;
59 compatible = "zephyr,lvgl-button-input";
60 input = <&keys>;
61 input-codes = <INPUT_KEY_B>;
66 compatible = "zephyr,lvgl-encoder-input";
67 rotation-input-code = <INPUT_REL_WHEEL>;
68 button-input-code = <INPUT_KEY_0>;
72 compatible = "zephyr,lvgl-keypad-input";
73 input = <&keys>;
74 input-codes = <INPUT_KEY_LEFT INPUT_KEY_RIGHT INPUT_KEY_ENTER>;
75 lvgl-codes = <LV_KEY_LEFT LV_KEY_RIGHT LV_KEY_ENTER>;
84 compatible = "zephyr,gpio-emul-sdl";
85 /* Skip pin 0 with the unknown code 0 */