Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7a1f3cc authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

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: default avatarDmitry Torokhov <dtor@mail.ru>
parent 21f25573
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);