d94d226fe1
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>
23 lines
410 B
C
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_ */
|