[immodule-qt] National keyboard support
YamaKen
yamaken at bp.iij4u.or.jp
Sat Aug 14 11:37:31 EEST 2004
Hi all,
I had added national keyboard support to Qt::Key by importing
keycodes from keysymdef.h of the X, but I'm not sure whether
imported keycodes are sufficient or excessive. Please help.
The imported keycodes are following. Mode_switch, Multi_key,
dead keys and Japanese keys are certainly required, but I'm not
sure about Korean and other national keyboards. Please let me
know what is required.
Choe, please help me about Korean keyboard :)
// 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
// dead keys (X keycode - 0xED00 to avoid the conflict)
Key_Dead_Grave = 0x1250,
Key_Dead_Acute = 0x1251,
Key_Dead_Circumflex = 0x1252,
Key_Dead_Tilde = 0x1253,
Key_Dead_Macron = 0x1254,
Key_Dead_Breve = 0x1255,
Key_Dead_Abovedot = 0x1256,
Key_Dead_Diaeresis = 0x1257,
Key_Dead_Abovering = 0x1258,
Key_Dead_Doubleacute = 0x1259,
Key_Dead_Caron = 0x125a,
Key_Dead_Cedilla = 0x125b,
Key_Dead_Ogonek = 0x125c,
Key_Dead_Iota = 0x125d,
Key_Dead_Voiced_Sound = 0x125e,
Key_Dead_Semivoiced_Sound = 0x125f,
Key_Dead_Belowdot = 0x1260,
Key_Dead_Hook = 0x1261,
Key_Dead_Horn = 0x1262,
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 immodule-qt
mailing list