summaryrefslogtreecommitdiff
path: root/alpscomm.c
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2004-07-30 03:04:11 +0200
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:02:41 +0200
commitf40f3d451ef883f53a43d9714c13e578598d9cee (patch)
tree3acb870f69a88ec91526c134239ee3ae438f189f /alpscomm.c
parenta9aa9222590e09688c5ae1b48b1e5f65d00c87bb (diff)
Another whitespace fix in alpscomm.c.
Diffstat (limited to 'alpscomm.c')
-rw-r--r--alpscomm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/alpscomm.c b/alpscomm.c
index c7ec46f..481f4c6 100644
--- a/alpscomm.c
+++ b/alpscomm.c
@@ -116,8 +116,8 @@ ALPS_process_packet(unsigned char *packet, struct SynapticsHwState *hw)
int x, y, z;
int left = 0, right = 0, middle = 0;
- x = (packet[1] & 0x7f) | ((packet[2] & 0x78)<<(7-3));
- y = (packet[4] & 0x7f) | ((packet[3] & 0x70)<<(7-4));
+ x = (packet[1] & 0x7f) | ((packet[2] & 0x78) << (7-3));
+ y = (packet[4] & 0x7f) | ((packet[3] & 0x70) << (7-4));
z = packet[5];
if (z > 0) {