Message ID | 1956131.3m477cLRf6@xps13 (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index 808c8e3..b3aed2e 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c @@ -590,7 +590,7 @@ static void synaptics_parse_agm(const unsigned char buf[], ((buf[5] & 0x01) << 2)) + 8; agm->x = (((buf[4] & 0x0f) << 8) | (buf[1] & 0xfe)) << 1; agm->y = (((buf[4] & 0xf0) << 4) | (buf[2] & 0xfe)) << 1; - agm->z = ((buf[3] & 0x30) | (buf[5] & 0x0e)) << 1; + agm->z = ((buf[3] & 0x30) | (buf[5] & 0x0e)) << 2; break; case 2: