FreeBSD Bugzilla – Attachment 163364 Details for
Bug 204709
[patch][ukbd] Apple USB Keyboard JIS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for sys/dev/usb/input/ukbd.c
ukbd.patch (text/plain), 1.15 KB, created by
Yuichiro NAITO
on 2015-11-21 03:49:06 UTC
(
hide
)
Description:
patch for sys/dev/usb/input/ukbd.c
Filename:
MIME Type:
Creator:
Yuichiro NAITO
Created:
2015-11-21 03:49:06 UTC
Size:
1.15 KB
patch
obsolete
>Index: sys/dev/usb/input/ukbd.c >=================================================================== >--- sys/dev/usb/input/ukbd.c (revision 290768) >+++ sys/dev/usb/input/ukbd.c (working copy) >@@ -302,6 +302,10 @@ > * 0x68: F13 > * 0x69: F14 > * 0x6a: F15 >+ * >+ * USB Apple Keyboard JIS generates: >+ * 0x90: Kana >+ * 0x91: Eisu > */ > static const uint8_t ukbd_trtab[256] = { > 0, 0, 0, 0, 30, 48, 46, 32, /* 00 - 07 */ >@@ -322,7 +326,7 @@ > 109, 110, 112, 118, 114, 116, 117, 119, /* 78 - 7F */ > 121, 120, NN, NN, NN, NN, NN, 123, /* 80 - 87 */ > 124, 125, 126, 127, 128, NN, NN, NN, /* 88 - 8F */ >- NN, NN, NN, NN, NN, NN, NN, NN, /* 90 - 97 */ >+ 129, 130, NN, NN, NN, NN, NN, NN, /* 90 - 97 */ > NN, NN, NN, NN, NN, NN, NN, NN, /* 98 - 9F */ > NN, NN, NN, NN, NN, NN, NN, NN, /* A0 - A7 */ > NN, NN, NN, NN, NN, NN, NN, NN, /* A8 - AF */ >@@ -2082,6 +2086,8 @@ > 0x79, /* Keyboard Intl' 4 (Henkan) */ > 0x7b, /* Keyboard Intl' 5 (Muhenkan) */ > 0x5c, /* Keyboard Intl' 6 (Keypad ,) (For PC-9821 layout) */ >+ 0x71, /* Apple Keyboard JIS (Kana) */ >+ 0x72, /* Apple Keyboard JIS (Eisu) */ > }; > > if ((code >= 89) && (code < (int)(89 + (sizeof(scan) / sizeof(scan[0]))))) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 204709
: 163364 |
163365