1 Star 2 Fork 0

Zephyr RTOS/lvgl

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
lv_test_indev.h 1.10 KB
Copy Edit Raw Blame History
kisvegabor authored 2021-06-24 03:51 +08:00 . test add keypad and encoder emulators
#ifndef LV_TEST_INDEV_H
#define LV_TEST_INDEV_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
#include "../lvgl.h"
void lv_test_mouse_read_cb(lv_indev_drv_t * drv, lv_indev_data_t * data);
void lv_test_mouse_move_to(lv_coord_t x, lv_coord_t y);
void lv_test_mouse_move_by(lv_coord_t x, lv_coord_t y);
void lv_test_mouse_press(void);
void lv_test_mouse_release(void);
void lv_test_mouse_click_at(lv_coord_t x, lv_coord_t y);
void lv_test_keypad_read_cb(lv_indev_drv_t * drv, lv_indev_data_t * data);
void lv_test_key_press(uint32_t k);
void lv_test_key_release(void);
void lv_test_key_hit(uint32_t k);
void lv_test_encoder_read_cb(lv_indev_drv_t * drv, lv_indev_data_t * data) ;
void lv_test_encoder_add_diff(int32_t d);
void lv_test_encoder_turn(int32_t d);
void lv_test_encoder_press(void);
void lv_test_encoder_release(void);
void lv_test_encoder_click(void);
void lv_test_indev_wait(uint32_t ms);
extern lv_indev_t * lv_test_mouse_indev;
extern lv_indev_t * lv_test_keypad_indev;
extern lv_indev_t * lv_test_encoder_indev;
#ifdef __cplusplus
} /*extern "C"*/
#endif
#endif /*LV_TEST_INDEV_H*/
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/zephyr-rtos/lvgl.git
git@gitee.com:zephyr-rtos/lvgl.git
zephyr-rtos
lvgl
lvgl
zephyr

Search