[Uim] National keyboard support for immodule for Qt
YamaKen
yamaken at bp.iij4u.or.jp
Mon May 31 15:18:11 EEST 2004
Hi folks,
I'm now brushing up the immodule for Qt to provide good IM
support to official Qt release.
I'm adding national keyboard support to Qt by importing keycodes
from keysymdef.h of the X, but I'm not sure whether imported
keycodes are sufficient or not. Please help.
The imported keycodes are following. Mode_switch, Multi_key and
Japanese keys are certainly required, but I can't ensure hangul
and other national keyboards. Please let me know.
// International input method support (X keycode - 0xEE00)
// Only interesting if you are writing your own input method
// International & multi-key character composition
Key_Multi_key = 0x1120, // Multi-key character compose
Key_Codeinput = 0x1137,
Key_SingleCandidate = 0x113c,
Key_MultipleCandidate = 0x113d,
Key_PreviousCandidate = 0x113e,
// Misc Functions
Key_Mode_switch = 0x117e, // Character set switch
//Key_script_switch = 0x117e, // Alias for mode_switch
// Japanese keyboard support
Key_Kanji = 0x1121, // Kanji, Kanji convert
Key_Muhenkan = 0x1122, // Cancel Conversion
//Key_Henkan_Mode = 0x1123, // Start/Stop Conversion
Key_Henkan = 0x1123, // Alias for Henkan_Mode
Key_Romaji = 0x1124, // to Romaji
Key_Hiragana = 0x1125, // to Hiragana
Key_Katakana = 0x1126, // to Katakana
Key_Hiragana_Katakana = 0x1127, // Hiragana/Katakana toggle
Key_Zenkaku = 0x1128, // to Zenkaku
Key_Hankaku = 0x1129, // to Hankaku
Key_Zenkaku_Hankaku = 0x112a, // Zenkaku/Hankaku toggle
Key_Touroku = 0x112b, // Add to Dictionary
Key_Massyo = 0x112c, // Delete from Dictionary
Key_Kana_Lock = 0x112d, // Kana Lock
Key_Kana_Shift = 0x112e, // Kana Shift
Key_Eisu_Shift = 0x112f, // Alphanumeric Shift
Key_Eisu_toggle = 0x1130, // Alphanumeric toggle
//Key_Kanji_Bangou = 0x1137, // Codeinput
//Key_Zen_Koho = 0x113d, // Multiple/All Candidate(s)
//Key_Mae_Koho = 0x113e, // Previous Candidate
// Korean support
Key_Hangul = 0x1131, // Hangul start/stop(toggle)
Key_Hangul_Start = 0x1132, // Hangul start
Key_Hangul_End = 0x1133, // Hangul end, English start
Key_Hangul_Hanja = 0x1134, // Start Hangul->Hanja Conversion
Key_Hangul_Jamo = 0x1135, // Hangul Jamo mode
Key_Hangul_Romaja = 0x1136, // Hangul Romaja mode
Key_Hangul_Codeinput = 0x1137, // Hangul code input mode
Key_Hangul_Jeonja = 0x1138, // Jeonja mode
Key_Hangul_Banja = 0x1139, // Banja mode
Key_Hangul_PreHanja = 0x113a, // Pre Hanja conversion
Key_Hangul_PostHanja = 0x113b, // Post Hanja conversion
Key_Hangul_SingleCandidate = 0x113c, // Single candidate
Key_Hangul_MultipleCandidate = 0x113d, // Multiple candidate
Key_Hangul_PreviousCandidate = 0x113e, // Previous candidate
Key_Hangul_Special = 0x113f, // Special symbols
//Key_Hangul_switch = 0x117e, // Alias for mode_switch
I had been seeing Korean keyboard layout for a while and given
up...
http://www.macromedia.com/support/fontographer/ts/documents/cjk.htm
-------------------------------
YamaKen yamaken at bp.iij4u.or.jp
More information about the uim
mailing list