天嵌二次封装库使用手册  V2.1.2
lib_getinput.h
浏览该文件的文档.
1 
7 #ifndef LINUX_LIBV2_SOURCE_GETINPUT_LIB_GETINPUT_H_
8 #define LINUX_LIBV2_SOURCE_GETINPUT_LIB_GETINPUT_H_
9 
10 // Copyright 2024
11 
12 #ifdef __cplusplus
13 #define GETINPUT_API extern "C"
14 #else
15 #define GETINPUT_API
16 #endif
17 
24  GETINPUT_API int getinput(char *touch_type, char *dev_name);
25 
32  GETINPUT_API int readinput(char *dev_name);
33 
34 
35 #endif
#define GETINPUT_API
Definition: lib_getinput.h:15
GETINPUT_API int readinput(char *dev_name)
传入字符串判断触摸是哪个设备,将设备名写入指针地址
GETINPUT_API int getinput(char *touch_type, char *dev_name)
传入字符串判断触摸是哪个设备,将设备名写入指针地址