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

Commit 380e19e2 authored by Vojtech Pavlik's avatar Vojtech Pavlik Committed by Dmitry Torokhov
Browse files

Input: atkbd - disable softrepeat for dumb keyboards



Do not activate softrepeat by default on dumb keyboards as it clashes
with their own hardware repeat (for example Dell DRAC3). Softrepeat
can still be activated manually via module parameter or sysfs.

Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 9b104c12
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -863,9 +863,6 @@ static int atkbd_connect(struct serio *serio, struct serio_driver *drv)
	atkbd->softrepeat = atkbd_softrepeat;
	atkbd->softrepeat = atkbd_softrepeat;
	atkbd->scroll = atkbd_scroll;
	atkbd->scroll = atkbd_scroll;


	if (!atkbd->write)
		atkbd->softrepeat = 1;

	if (atkbd->softrepeat)
	if (atkbd->softrepeat)
		atkbd->softraw = 1;
		atkbd->softraw = 1;