分享一个接口项目开头
开头已经给出了,写一个接口,具体实现是将已经抓取好的数据(txt文档)中的数逐个放入指定的buf中。code:
unsigned char g_touch_cnt;// 0: no touch ; 1,2 touch cnt
unsigned char g_key_num; // 0: no key; 1,2,3 key 1,2,3
unsigned char g_report_buf[33];
typedef struct{
unsigned short x;
unsigned short y;
unsigned short id;
}point_t;
void fomate_data(point_t* pt)
{
}