www.pudn.com > 03_touchscreen_input.rar > touch.h
#define TOUCHSCREEN_DEV "/dev/input/event0"
// TouchScreen input data structure
typedef struct
{
int y;
int x;
int pressure;
int flag;
} ts_event_t;
// Calibration data definition
#define CAL_POINT_NUM 10 /* number of calibration pBuffer */
// Screen point structure
typedef struct
{
unsigned short x;
unsigned short y;
} Point;