|
@@ -141,6 +141,8 @@ static irqreturn_t tsc2007_soft_irq(int irq, void *handle)
|
|
|
"DOWN point(%4d,%4d), resistance (%4u)\n",
|
|
"DOWN point(%4d,%4d), resistance (%4u)\n",
|
|
|
tc.x, tc.y, rt);
|
|
tc.x, tc.y, rt);
|
|
|
|
|
|
|
|
|
|
+ rt = ts->max_rt - rt;
|
|
|
|
|
+
|
|
|
input_report_key(input, BTN_TOUCH, 1);
|
|
input_report_key(input, BTN_TOUCH, 1);
|
|
|
input_report_abs(input, ABS_X, tc.x);
|
|
input_report_abs(input, ABS_X, tc.x);
|
|
|
input_report_abs(input, ABS_Y, tc.y);
|
|
input_report_abs(input, ABS_Y, tc.y);
|