summaryrefslogtreecommitdiffstats
path: root/sys/dev/kbdmux
diff options
context:
space:
mode:
authoremax <emax@FreeBSD.org>2007-07-11 18:57:15 +0000
committeremax <emax@FreeBSD.org>2007-07-11 18:57:15 +0000
commit33e96346efa30f1edc600237f9c28416c1364c7b (patch)
tree7d673b3aa3d92c4d58a66f68bfd34756eddd4153 /sys/dev/kbdmux
parentfd15c387c1c78f416fa5254fd774250997ef4c45 (diff)
downloadFreeBSD-src-33e96346efa30f1edc600237f9c28416c1364c7b.zip
FreeBSD-src-33e96346efa30f1edc600237f9c28416c1364c7b.tar.gz
Fix kbdmux(4) issue with backslash/underscore key not working on
Japanese 106/109 keyboard. PR: kern/112214, kern/99090 Submitted by: TOMITA Yoshinori, TAKAHASHI Yoshihiro Approved by: re (hrs) MFC after: 3 days
Diffstat (limited to 'sys/dev/kbdmux')
-rw-r--r--sys/dev/kbdmux/kbdmux.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/kbdmux/kbdmux.c b/sys/dev/kbdmux/kbdmux.c
index 8e93272c..63f3db6 100644
--- a/sys/dev/kbdmux/kbdmux.c
+++ b/sys/dev/kbdmux/kbdmux.c
@@ -786,6 +786,9 @@ next_code:
case 0x63: /* wake key */
keycode = 0x6f;
break;
+ case 0x64: /* [JP106USB] backslash, underscore */
+ keycode = 0x73;
+ break;
default: /* ignore everything else */
goto next_code;
}
OpenPOWER on IntegriCloud