Last active
April 4, 2016 20:16
-
-
Save Alberto96/accb3662fe6f6935c0084f370d2e3b09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c | |
index 4d113c9..51d8437 100644 | |
--- a/drivers/input/touchscreen/goodix.c | |
+++ b/drivers/input/touchscreen/goodix.c | |
@@ -160,6 +160,8 @@ static void goodix_ts_report_touch(struct goodix_ts_data *ts, u8 *coor_data) | |
input_y = ts->abs_y_max - input_y; | |
} | |
+ input_x = ts->abs_x_max - input_x; | |
+ | |
input_mt_slot(ts->input_dev, id); | |
input_mt_report_slot_state(ts->input_dev, MT_TOOL_FINGER, true); | |
input_report_abs(ts->input_dev, ABS_MT_POSITION_X, input_x); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment