Skip to content
Snippets Groups Projects
Commit 39ea6d41 authored by Alice Sheng's avatar Alice Sheng
Browse files

Change touch panel dimension configuration to 320x320.

The previous configuration was 320x290, which is the size of the display
since the display does not include the chin of the device. However, the
touch panel actually does extend over the chin and the result was that
the scaling was incorrect so that touches at the bottom of the screen
get registered as lower than they actually are.

Bug: 23869671
Test: Touching the screen with show pointer location on to see that the
locations are accurate

Change-Id: Ie724a4efa69812f19ed265cb81d8b28f1c3f111f
parent 1041ee09
Branches
Tags
No related merge requests found
...@@ -130,8 +130,8 @@ ...@@ -130,8 +130,8 @@
pinctrl-0 = <&ts_int_active &ts_reset_active>; pinctrl-0 = <&ts_int_active &ts_reset_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
pinctrl-2 = <&ts_release>; pinctrl-2 = <&ts_release>;
focaltech,display-coords = <0 0 320 290>; /* for android wear */ focaltech,display-coords = <0 0 320 320>; /* for android wear */
focaltech,panel-coords = <0 0 320 290>; focaltech,panel-coords = <0 0 320 320>;
focaltech,button-map= <70 150 907>; focaltech,button-map= <70 150 907>;
focaltech,no-force-update; focaltech,no-force-update;
focaltech,i2c-pull-up; focaltech,i2c-pull-up;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment