diff --git a/lichee/linux-4.9/drivers/input/touchscreen/gt9xxnew/gt9xx.c b/lichee/linux-4.9/drivers/input/touchscreen/gt9xxnew/gt9xx.c index ac1973b61..81d142805 100755 --- a/lichee/linux-4.9/drivers/input/touchscreen/gt9xxnew/gt9xx.c +++ b/lichee/linux-4.9/drivers/input/touchscreen/gt9xxnew/gt9xx.c @@ -631,15 +631,17 @@ Output: static void gtp_touch_down(struct goodix_ts_data* ts,s32 id,s32 x,s32 y,s32 w) { dprintk(DEBUG_X_Y_INFO, "source data:ID:%d, X:%d, Y:%d, W:%d\n", id, x, y, w); - if(1 == exchange_x_y_flag){ - swap(x, y); - } - if(1 == revert_x_flag){ - x = SCREEN_MAX_X - x; - } - if(1 == revert_y_flag){ - y = SCREEN_MAX_Y - y; - } + //if(1 == exchange_x_y_flag){ + // swap(x, y); + //} + //if(1 == revert_x_flag){ + // x = SCREEN_MAX_X - x; + //} + //if(1 == revert_y_flag){ + // y = SCREEN_MAX_Y - y; + //} + x = GTP_MAX_WIDTH - x; + dprintk(DEBUG_X_Y_INFO,"report data:ID:%d, X:%d, Y:%d, W:%d\n", id, x, y, w); #if GTP_ICS_SLOT_REPORT