From: Katsura I. <ka...@to...> - 2000-11-29 02:08:06
|
>Are you sure this change is correct? AFAIK 181 always mapped to 125, not >115 as in your table (this is in the linuxconsole CVS). yes,it works fine. you may be confusing "\" and "Yen",because "\" and "Yen" both generate same character "\". HUT1_1 says keyboard international 1 = \,_ 2 = Hiragana_Katakana toggle 3 = Yen,| 4 = Henkan 5 = Muhenkan and i found my japanese ps/2 keyboards generate scancodes \,_ => 115 Hiragana_Katakana togle => 112 Yen,| => 125 Henkan => 121 Muhenkan => 123 this map works fine with my usbkeyboards. and "showkey -s" says my ps/2 keyboards and usb keyboards generate same scancode. you could see XFree86's keyboard definition to make sure jp106 section of "/usr/X11R6/lib/X11/xkb/keycodes/xfree86" means pc scancode -> X's keycode(scancode+8) -> Key 115 123 <AB11> 112 120 <HKTG> 125 133 <AE13> 121 129 <XFER> 123 131 <NFER> and "/usr/X11R6/lib/X11/xkb/sympols/jp" means key <AB11> { [ backslash, underscore], [ kana_RO ] }; key <HKTG> { [ Hiragana_Katakana,Romaji ] }; key <AE13> { [ backslash, bar ], [ prolongedsound ] }; key <XFER> { [ Henkan, Mode_switch ] }; key <NFER> { [ Muhenkan ] }; Katsura ITO (mailto:ka...@to...> |