mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
Input: elantech - do not advertise relative events
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>
This commit is contained in:
parent
21f25573fb
commit
c7a1f3ccfc
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue