* [PATCH] input: wm97xx: adapt parameters to tosa touchscreen.
@ 2014-10-24 17:18 Dmitry Eremin-Solenikov
2014-10-25 0:28 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Eremin-Solenikov @ 2014-10-24 17:18 UTC (permalink / raw)
To: linux-input
Cc: patches, Dmitry Torokhov, Mark Brown, Liam Girdwood,
Dmitry Eremin-Solenikov
From: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
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>
---
drivers/input/touchscreen/wm97xx-core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/input/touchscreen/wm97xx-core.c b/drivers/input/touchscreen/wm97xx-core.c
index d0ef91f..b1ae779 100644
--- a/drivers/input/touchscreen/wm97xx-core.c
+++ b/drivers/input/touchscreen/wm97xx-core.c
@@ -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");
--
2.1.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] input: wm97xx: adapt parameters to tosa touchscreen.
2014-10-24 17:18 [PATCH] input: wm97xx: adapt parameters to tosa touchscreen Dmitry Eremin-Solenikov
@ 2014-10-25 0:28 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2014-10-25 0:28 UTC (permalink / raw)
To: Dmitry Eremin-Solenikov
Cc: linux-input, patches, Mark Brown, Liam Girdwood,
Dmitry Eremin-Solenikov
On Fri, Oct 24, 2014 at 09:18:06PM +0400, Dmitry Eremin-Solenikov wrote:
> From: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
>
> 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>
Applied, thank you.
> ---
> drivers/input/touchscreen/wm97xx-core.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/input/touchscreen/wm97xx-core.c b/drivers/input/touchscreen/wm97xx-core.c
> index d0ef91f..b1ae779 100644
> --- a/drivers/input/touchscreen/wm97xx-core.c
> +++ b/drivers/input/touchscreen/wm97xx-core.c
> @@ -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");
>
> --
> 2.1.1
>
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-25 0:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-24 17:18 [PATCH] input: wm97xx: adapt parameters to tosa touchscreen Dmitry Eremin-Solenikov
2014-10-25 0:28 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).