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

Commit 3c00bb96 authored by Laszlo Kajan's avatar Laszlo Kajan Committed by Dmitry Torokhov
Browse files

Input: ALPS - fix forward/back buttons reversed on Acer 5520-5290



ALPS_FW_BK_1 protocol flavor seems to have forward and backward
keys reversed.

Signed-off-by: default avatarLaszlo Kajan <kajla@bioinfo.pl>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 1db3a345
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -116,8 +116,8 @@ static void alps_process_packet(struct psmouse *psmouse)
	}

	if (priv->i->flags & ALPS_FW_BK_1) {
		back = packet[2] & 4;
		forward = packet[0] & 0x10;
		back = packet[0] & 0x10;
		forward = packet[2] & 4;
	}

	if (priv->i->flags & ALPS_FW_BK_2) {