zephyr/modules/lvgl/include/lvgl_keypad_input.h
Fabian Blatz d94d226fe1 modules: lvgl: input: add zephyr,lvgl-keypad-input device binding
Add a pseudo device which can be used to hook into input events and
emit lvgl keypad events.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2023-12-06 09:15:50 +00:00

23 lines
410 B
C

/*
* Copyright 2023 Fabian Blatz <fabianblatz@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_MODULES_LVGL_LVGL_KEYPAD_INPUT_H_
#define ZEPHYR_MODULES_LVGL_LVGL_KEYPAD_INPUT_H_
#include <zephyr/device.h>
#ifdef __cplusplus
extern "C" {
#endif
int lvgl_keypad_input_init(const struct device *dev);
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_MODULES_LVGL_LVGL_KEYPAD_INPUT_H_ */