X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Finput%2Fmouse%2Falps.c;h=a0e2e797c6d5a6c9e3cceeb6659a9299630c5af5;hb=bf891bd65de65284f3964216fcde493dba5149db;hp=2141501e9f2e498246df66233623490ade12494a;hpb=9fdb62af92c741addbea15545f214a6e89460865;p=powerpc.git diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c index 2141501e9f..a0e2e797c6 100644 --- a/drivers/input/mouse/alps.c +++ b/drivers/input/mouse/alps.c @@ -100,8 +100,8 @@ static void alps_process_packet(struct psmouse *psmouse, struct pt_regs *regs) } if (priv->i->flags & ALPS_OLDPROTO) { - left = packet[2] & 0x08; - right = packet[2] & 0x10; + left = packet[2] & 0x10; + right = packet[2] & 0x08; middle = 0; x = packet[1] | ((packet[0] & 0x07) << 7); y = packet[4] | ((packet[3] & 0x07) << 7);