linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] Input: egalax_ts - ABS_MT_POSITION_Y not reported well
@ 2013-05-01 19:45 Heiko Abraham
  2013-05-06  3:21 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Heiko Abraham @ 2013-05-01 19:45 UTC (permalink / raw)
  To: Henrik Rydberg, Dmitry Torokhov; +Cc: linux-input, Heiko Abraham

The egalax_ts touchscreen modul not report ABS_MT_POSITION_Y proper.
As result it may be, that upper software levels only receive x coordinates well.

Signed-off-by: Heiko Abraham <abrahamh@web.de>
---
 drivers/input/touchscreen/egalax_ts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c
index 17c9097..39f3df8 100644
--- a/drivers/input/touchscreen/egalax_ts.c
+++ b/drivers/input/touchscreen/egalax_ts.c
@@ -216,7 +216,7 @@ static int egalax_ts_probe(struct i2c_client *client,
 	input_set_abs_params(input_dev,
 			     ABS_MT_POSITION_X, 0, EGALAX_MAX_X, 0, 0);
 	input_set_abs_params(input_dev,
-			     ABS_MT_POSITION_X, 0, EGALAX_MAX_Y, 0, 0);
+			     ABS_MT_POSITION_Y, 0, EGALAX_MAX_Y, 0, 0);
 	input_mt_init_slots(input_dev, MAX_SUPPORT_POINTS, 0);
 
 	input_set_drvdata(input_dev, ts);
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] Input: egalax_ts - ABS_MT_POSITION_Y not reported well
  2013-05-01 19:45 [PATCH 1/1] Input: egalax_ts - ABS_MT_POSITION_Y not reported well Heiko Abraham
@ 2013-05-06  3:21 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2013-05-06  3:21 UTC (permalink / raw)
  To: Heiko Abraham; +Cc: Henrik Rydberg, linux-input

On Wed, May 01, 2013 at 12:45:17PM -0700, Heiko Abraham wrote:
> The egalax_ts touchscreen modul not report ABS_MT_POSITION_Y proper.
> As result it may be, that upper software levels only receive x coordinates well.
> 
> Signed-off-by: Heiko Abraham <abrahamh@web.de>

Applied, thank you.

> ---
>  drivers/input/touchscreen/egalax_ts.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c
> index 17c9097..39f3df8 100644
> --- a/drivers/input/touchscreen/egalax_ts.c
> +++ b/drivers/input/touchscreen/egalax_ts.c
> @@ -216,7 +216,7 @@ static int egalax_ts_probe(struct i2c_client *client,
>  	input_set_abs_params(input_dev,
>  			     ABS_MT_POSITION_X, 0, EGALAX_MAX_X, 0, 0);
>  	input_set_abs_params(input_dev,
> -			     ABS_MT_POSITION_X, 0, EGALAX_MAX_Y, 0, 0);
> +			     ABS_MT_POSITION_Y, 0, EGALAX_MAX_Y, 0, 0);
>  	input_mt_init_slots(input_dev, MAX_SUPPORT_POINTS, 0);
>  
>  	input_set_drvdata(input_dev, ts);
> -- 
> 1.7.0.4
> 

-- 
Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-06  3:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-01 19:45 [PATCH 1/1] Input: egalax_ts - ABS_MT_POSITION_Y not reported well Heiko Abraham
2013-05-06  3:21 ` 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).