Input: ALPS - fix forward/back buttons reversed on Acer 5520-5290
[pandora-kernel.git] / drivers / input / mouse / alps.c
index 6e8da5e..385e32b 100644 (file)
@@ -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) {