Skip to content

Commit

Permalink
Input: elantech - do not advertise relative events
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dmitry Torokhov committed Nov 20, 2009
1 parent 21f2557 commit c7a1f3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/input/mouse/elantech.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c7a1f3c

Please sign in to comment.