wuyangyong b5f7c6cb44 update lcd driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1610 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 07:39:49 +00:00

22 lines
385 B
C

#ifndef __TOUCH_H__
#define __TOUCH_H__
#include <rtthread.h>
#define RT_TOUCH_NORMAL 0
#define RT_TOUCH_CALIBRATION_DATA 1
#define RT_TOUCH_CALIBRATION 2
struct calibration_data
{
rt_uint16_t min_x, max_x;
rt_uint16_t min_y, max_y;
};
typedef void (*rt_touch_calibration_func_t)(rt_uint16_t x, rt_uint16_t y);
void rtgui_touch_hw_init(void);
#endif