lv_port_indev.h 521 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2021-10-18 Meco Man The first version
  9. */
  10. #ifndef LV_PORT_INDEV_H
  11. #define LV_PORT_INDEV_H
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. #include <lv_hal_indev.h>
  16. extern lv_indev_t * button_indev;
  17. void lv_port_indev_init(void);
  18. void lv_port_indev_input(rt_int16_t x, rt_int16_t y, lv_indev_state_t state);
  19. #ifdef __cplusplus
  20. } /*extern "C"*/
  21. #endif
  22. #endif