From 5aceabe84d4725ad7ee140cc432551a269650991 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C3=85strand?= Date: Fri, 9 Apr 2010 12:47:29 +0000 Subject: [PATCH] Applied Patch 2936021: - [Alt]+[Hankaku_Zenkaku/Kanji] key didn't work. (should toggle IME) - [Eisu_toggle/Caps_Lock] key acts wildly. Before the fix, the key behaved as unconditional Caps Lock toggle as in US keyboards. In Japanese 106 keyboard, this key should only toggle Caps Lock on shift. Plain keypress should just tell IME to transit to alnum mode. - [Hiragana_Katakana/Romaji] key didn't work. - Windows key didn't work. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1590 423420c4-83ab-492f-b58f-81f9feb106b5 --- keymaps/ja | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/keymaps/ja b/keymaps/ja index 2311215..532b111 100644 --- a/keymaps/ja +++ b/keymaps/ja @@ -1,4 +1,6 @@ # generated from XKB map jp106 +# See OADG Technical reference for official scancodes: +# http://www.oadg.or.jp/tosho/index.htm#techref include common map 0xe0010411 keyboard_type 0x7 @@ -72,6 +74,7 @@ colon 0x28 asterisk 0x28 shift kana_KE 0x28 altgr Zenkaku_Hankaku 0x29 +Kanji 0x29 bracketright 0x2b braceright 0x2b shift kana_MU 0x2b altgr @@ -96,12 +99,21 @@ slash 0x35 question 0x35 shift kana_ME 0x35 altgr kana_conjunctive 0x35 shift altgr -Eisu_toggle 0x3a shift Execute 0x54 shift -Kanji 0x70 backslash 0x73 bar 0x7d shift underscore 0x73 shift Henkan_Mode 0x79 +Hiragana_Katakana 0x70 localstate Katakana 0x70 +Romaji 0x70 Muhenkan 0x7b +# Plain [Eisu_toggle/Caps_Lock] should NOT have shift +Eisu_toggle 0x3a +# [Eisu_toggle/Caps_Lock] key will generate Caps_Lock keysym +# only with shift+capslock stroke. Windows also expect this, so prefix a shift +Caps_Lock 0x3a shift +# Windows,Menu +F13 0xdc +Menu 0xdd +#todo: Alt_R+Romaji doesnt romaji the IME (Alt_L+Romaji works)