Re: [PATCH 2.5.59] support japanese JP106 keyboard on new console.

From: Hiroshi Miura (miura@da-cha.org)
Date: Tue Feb 04 2003 - 22:36:26 EST


In message "Re: [PATCH 2.5.59] support japanese JP106 keyboard on new console."
    on 03/02/02, Vojtech Pavlik <vojtech@suse.cz> writes:
> In 2.4 you can, in 2.5 the 'as long as no duplication occurs for any
> single keyboard' is not valid anymore, and the keycode for
> hiragana/katakana is defined to be 183 I think.

I can understand the rule of international and language keys in 2.5.
I think hiragana/katakana is defined to be '182'.
The keycode 183 is a yen/pipe key.

--- linux-2.5.59/drivers/input/keyboard/atkbd.c 2002-12-03 07:59:41.000000000 +0900
+++ edited/linux-2.5.59/drivers/input/keyboard/atkbd.c 2003-02-05 12:32:43.000000000 +0900
@@ -39,7 +39,7 @@
 
 static unsigned char atkbd_set2_keycode[512] = {
          0, 67, 65, 63, 61, 59, 60, 88, 0, 68, 66, 64, 62, 15, 41, 85,
- 0, 56, 42, 0, 29, 16, 2, 89, 0, 0, 44, 31, 30, 17, 3, 90,
+ 0, 56, 42,182, 29, 16, 2, 89, 0, 0, 44, 31, 30, 17, 3, 90,
          0, 46, 45, 32, 18, 5, 4, 91, 0, 57, 47, 33, 20, 19, 6, 0,
          0, 49, 48, 35, 34, 21, 7, 0, 0, 0, 50, 36, 22, 8, 9, 0,
          0, 51, 37, 23, 24, 11, 10, 0, 0, 52, 53, 38, 39, 25, 12, 0,

--
Hiroshi Miura

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 07 2003 - 22:00:16 EST