aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini2016-01-25 17:23:19 -0500
committerTom Rini2016-01-25 17:23:19 -0500
commit9c3193f8d03d4074fa6ca6b783246b97d8dc2ff5 (patch)
tree9dbdb529e2a1d49fcb45d7e579c9e76f31664776 /common
parentd82477748d641e60ba3e1a0b55d98362aed70f80 (diff)
parentbdbcbe752e93357226cba12a6ce00bbe54cb5db8 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-usb
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 cbb1995de33..d84865fbbe2 100644
--- a/common/usb_kbd.c
+++ b/common/usb_kbd.c
@@ -199,7 +199,7 @@ static int usb_kbd_translate(struct usb_kbd_pdata *data, unsigned char scancode,
}
}
- if ((scancode > 0x1d) && (scancode < 0x3a)) {
+ if ((scancode > 0x1d) && (scancode < 0x39)) {
/* Shift pressed */
if (modifier & (LEFT_SHIFT | RIGHT_SHIFT))
keycode = usb_kbd_numkey_shifted[scancode - 0x1e];