From 5fb1f93291af97fde7de640edd76ac5354a827aa Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Sun, 1 May 2005 08:59:30 -0700 Subject: [PATCH] --- yaml --- r: 793 b: refs/heads/master c: 6c207e769297946a0adec45225c6999f1299dde3 h: refs/heads/master i: 791: 03436a26561f7667469856ca28718aaf4a4d5e96 v: v3 --- [refs] | 2 +- trunk/drivers/input/joystick/spaceorb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index cb3eef149a6c..fa2ac32853fb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0dec63bab860cc60cc444faa0ac459f1b53545ff +refs/heads/master: 6c207e769297946a0adec45225c6999f1299dde3 diff --git a/trunk/drivers/input/joystick/spaceorb.c b/trunk/drivers/input/joystick/spaceorb.c index c76cf8ff29c0..874367bfab08 100644 --- a/trunk/drivers/input/joystick/spaceorb.c +++ b/trunk/drivers/input/joystick/spaceorb.c @@ -116,7 +116,7 @@ static void spaceorb_process_packet(struct spaceorb *spaceorb, struct pt_regs *r case 'K': /* Button data */ if (spaceorb->idx != 5) return; - for (i = 0; i < 7; i++) + for (i = 0; i < 6; i++) input_report_key(dev, spaceorb_buttons[i], (data[2] >> i) & 1); break;