View | Details | Raw Unified | Return to bug 204709 | Differences between
and this patch

Collapse All | Expand All

(-)sys/dev/usb/input/ukbd.c (-1 / +7 lines)
Lines 302-307 Link Here
302
 * 0x68: F13
302
 * 0x68: F13
303
 * 0x69: F14
303
 * 0x69: F14
304
 * 0x6a: F15
304
 * 0x6a: F15
305
 * 
306
 * USB Apple Keyboard JIS generates:
307
 * 0x90: Kana
308
 * 0x91: Eisu
305
 */
309
 */
306
static const uint8_t ukbd_trtab[256] = {
310
static const uint8_t ukbd_trtab[256] = {
307
	0, 0, 0, 0, 30, 48, 46, 32,	/* 00 - 07 */
311
	0, 0, 0, 0, 30, 48, 46, 32,	/* 00 - 07 */
Lines 322-328 Link Here
322
	109, 110, 112, 118, 114, 116, 117, 119,	/* 78 - 7F */
326
	109, 110, 112, 118, 114, 116, 117, 119,	/* 78 - 7F */
323
	121, 120, NN, NN, NN, NN, NN, 123,	/* 80 - 87 */
327
	121, 120, NN, NN, NN, NN, NN, 123,	/* 80 - 87 */
324
	124, 125, 126, 127, 128, NN, NN, NN,	/* 88 - 8F */
328
	124, 125, 126, 127, 128, NN, NN, NN,	/* 88 - 8F */
325
	NN, NN, NN, NN, NN, NN, NN, NN,	/* 90 - 97 */
329
	129, 130, NN, NN, NN, NN, NN, NN,	/* 90 - 97 */
326
	NN, NN, NN, NN, NN, NN, NN, NN,	/* 98 - 9F */
330
	NN, NN, NN, NN, NN, NN, NN, NN,	/* 98 - 9F */
327
	NN, NN, NN, NN, NN, NN, NN, NN,	/* A0 - A7 */
331
	NN, NN, NN, NN, NN, NN, NN, NN,	/* A0 - A7 */
328
	NN, NN, NN, NN, NN, NN, NN, NN,	/* A8 - AF */
332
	NN, NN, NN, NN, NN, NN, NN, NN,	/* A8 - AF */
Lines 2082-2087 Link Here
2082
		0x79,	/* Keyboard Intl' 4 (Henkan) */
2086
		0x79,	/* Keyboard Intl' 4 (Henkan) */
2083
		0x7b,	/* Keyboard Intl' 5 (Muhenkan) */
2087
		0x7b,	/* Keyboard Intl' 5 (Muhenkan) */
2084
		0x5c,	/* Keyboard Intl' 6 (Keypad ,) (For PC-9821 layout) */
2088
		0x5c,	/* Keyboard Intl' 6 (Keypad ,) (For PC-9821 layout) */
2089
		0x71,   /* Apple Keyboard JIS (Kana) */
2090
		0x72,   /* Apple Keyboard JIS (Eisu) */
2085
	};
2091
	};
2086
2092
2087
	if ((code >= 89) && (code < (int)(89 + (sizeof(scan) / sizeof(scan[0]))))) {
2093
	if ((code >= 89) && (code < (int)(89 + (sizeof(scan) / sizeof(scan[0]))))) {

Return to bug 204709