summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-11-07 14:16:14 -0600
committerJon Loeliger <jdl@freescale.com>2007-11-07 14:16:14 -0600
commit59e7965922b683a5aca44ff294d95b206d5bc58a (patch)
treee8453252f9987f99deeb7d7b98b7b6d99b5433cf /common
parent3cac27c1d40b151f295dcfdb514fa928732e4ecf (diff)
parent992742a5b09d9040adbd156fb90756af66ade310 (diff)
Merge commit 'remotes/wd/master'
Diffstat (limited to 'common')
-rw-r--r--common/usb_kbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usb_kbd.c b/common/usb_kbd.c
index aec558ad20..7bdfcc0b90 100644
--- a/common/usb_kbd.c
+++ b/common/usb_kbd.c
@@ -257,7 +257,7 @@ static int usb_kbd_translate(unsigned char scancode,unsigned char modifier,int p
repeat_delay=REPEAT_DELAY;
}
keycode=0;
- if((scancode>3) && (scancode<0x1d)) { /* alpha numeric values */
+ if((scancode>3) && (scancode<=0x1d)) { /* alpha numeric values */
keycode=scancode-4 + 0x61;
if(caps_lock)
keycode&=~CAPITAL_MASK; /* switch to capital Letters */