由于不同触摸屏的xy坐标会有不同,有时候xy坐标需要反过来。下面的代码会告诉你怎样调整xy坐标。
代码分析
驱动位置:drivers/input/touchscreen/ft5x06_ts.c
static int __init ft5x0x_ts_init(void)
{
int ret;
int type;
type = get_lcd_type();
#if 1
//TP1_EN
//printk("==%s: TP1_EN==\n", __FUNCTION__);
ret = gpio_request(EXYNOS4_GPL0(2), "TP1_EN");
if (ret) {
printk(KERN_ERR "failed to request TP1_EN for "