Skip to content

Commit

Permalink
Input: wm97xx - adapt parameters to tosa touchscreen.
Browse files Browse the repository at this point in the history
Sharp SL-6000 (tosa) touchscreen needs wider limits to properly map all
points on the screen. Expand ranges in abs_x and abs_y arrays according
to the touchscreen area.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
  • Loading branch information
Dmitry Eremin-Solenikov authored and Dmitry Torokhov committed Oct 25, 2014
1 parent 993b3a3 commit 859abd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/input/touchscreen/wm97xx-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@
* Documentation/input/input-programming.txt for more details.
*/

static int abs_x[3] = {350, 3900, 5};
static int abs_x[3] = {150, 4000, 5};
module_param_array(abs_x, int, NULL, 0);
MODULE_PARM_DESC(abs_x, "Touchscreen absolute X min, max, fuzz");

static int abs_y[3] = {320, 3750, 40};
static int abs_y[3] = {200, 4000, 40};
module_param_array(abs_y, int, NULL, 0);
MODULE_PARM_DESC(abs_y, "Touchscreen absolute Y min, max, fuzz");

Expand Down

0 comments on commit 859abd1

Please sign in to comment.