1 /** 2 * @file lv_nuttx_touchscreen.h 3 * 4 */ 5 6 /********************* 7 * INCLUDES 8 *********************/ 9 10 #ifndef LV_NUTTX_TOUCHSCREEN_H 11 #define LV_NUTTX_TOUCHSCREEN_H 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 /********************* 18 * INCLUDES 19 *********************/ 20 21 #include "../../indev/lv_indev.h" 22 23 #if LV_USE_NUTTX 24 25 #if LV_USE_NUTTX_TOUCHSCREEN 26 27 /********************* 28 * DEFINES 29 *********************/ 30 31 /********************** 32 * TYPEDEFS 33 **********************/ 34 35 /********************** 36 * GLOBAL PROTOTYPES 37 **********************/ 38 39 /** 40 * Initialize indev with specified input device. 41 * @param dev_path path of input device 42 */ 43 lv_indev_t * lv_nuttx_touchscreen_create(const char * dev_path); 44 45 /********************** 46 * MACROS 47 **********************/ 48 49 #endif /* LV_USE_NUTTX_TOUCHSCREEN */ 50 51 #endif /* LV_USE_NUTTX*/ 52 53 #ifdef __cplusplus 54 } /* extern "C" */ 55 #endif 56 57 #endif /* LV_NUTTX_TOUCHSCREEN_H */ 58