1/*
2 * Copyright (c) 2024, Eve Redero
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <zephyr/dt-bindings/input/input-event-codes.h>
8#include <zephyr/dt-bindings/lvgl/lvgl.h>
9
10/ {
11	pointer {
12		compatible = "zephyr,lvgl-pointer-input";
13		input = <&stmpe811>;
14		invert-y;
15	};
16
17	keypad {
18		compatible = "zephyr,lvgl-keypad-input";
19		input = <&buttons>;
20		input-codes = <INPUT_KEY_RIGHT INPUT_KEY_LEFT INPUT_KEY_UP INPUT_KEY_DOWN INPUT_KEY_ENTER INPUT_KEY_0>;
21		lvgl-codes =  <LV_KEY_RIGHT LV_KEY_LEFT LV_KEY_UP LV_KEY_DOWN LV_KEY_ENTER LV_KEY_ESC>;
22	};
23};
24