pmaports/device/testing/linux-wexler-qc750/00-nt11003-touchscreen-fix.patch
DX37 252466cb17
wexler-qc750: new device (MR 1742)
Hello there, DragonX256 here.
For now, this tablet only have flashing, USB net, display and touchscreen.
I will try to add other features soon, or, if I fail enough, switch to mainlining immediately :D
2020-11-20 14:25:30 +01:00

15 lines
702 B
Diff

diff --git a/drivers/input/touchscreen/Novatek_TouchDriver.c b/drivers/input/touchscreen/Novatek_TouchDriver.c
index 5cccaf03..b1eb5e69 100755
--- a/drivers/input/touchscreen/Novatek_TouchDriver.c
+++ b/drivers/input/touchscreen/Novatek_TouchDriver.c
@@ -1122,8 +1122,8 @@ err_gpio_request_failed:
}
#endif
-// input_set_abs_params(ts->input_dev, ABS_X, 0, ts->abs_x_max-1, 0, 0);
-// input_set_abs_params(ts->input_dev, ABS_Y, 0, ts->abs_y_max-1, 0, 0);
+ input_set_abs_params(ts->input_dev, ABS_X, 0, ts->abs_x_max-1, 0, 0);
+ input_set_abs_params(ts->input_dev, ABS_Y, 0, ts->abs_y_max-1, 0, 0);
input_set_abs_params(ts->input_dev, ABS_PRESSURE, 0, 255, 0, 0);
#ifdef NOVATEK_MULTI_TOUCH