diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-11-16 22:12:21 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-09 15:55:05 -0700 |
commit | 40ebeb0d12013a69d69e44c9706a25de83374f43 (patch) | |
tree | 0dc0654a989e60b27ecf4db7e50a26d161fcd4d1 /drivers | |
parent | 450aae08249e89e49eea41d080eb730b9dfb8688 (diff) |
Input: elantech - do not advertise relative events
commit c7a1f3ccfc2f99427f2e1545b3171e98539c3c95 upstream.
Elantech touchpads work in absolute mode and do not generate relative
events so they should not be advertising them.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/mouse/elantech.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c index fda35e615ab..b27684f267b 100644 --- a/drivers/input/mouse/elantech.c +++ b/drivers/input/mouse/elantech.c @@ -420,6 +420,7 @@ static void elantech_set_input_params(struct psmouse *psmouse) __set_bit(EV_KEY, dev->evbit); __set_bit(EV_ABS, dev->evbit); + __clear_bit(EV_REL, dev->evbit); __set_bit(BTN_LEFT, dev->keybit); __set_bit(BTN_RIGHT, dev->keybit); |