[immodule-qt] National keyboard support

Choe Hwanjin krisna at kldp.org
Tue Aug 17 09:44:08 EEST 2004


On Tue, Aug 17, 2004 at 03:07:00PM +0900, YamaKen wrote:
> Hi Choe,
> 
> At Sun, 15 Aug 2004 11:47:11 +0900,
> krisna at kldp.org wrote:
> > 
> > On Sat, Aug 14, 2004 at 05:37:31PM +0900, YamaKen wrote:
> > > 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 :)
> > > 
> > > 	// 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 think this will be enough for korean :)
> > In fact, many korean users need only 2 keys, Key_Hangul and
> > Key_Hangul_Hanja. But I think rest of the keys are good for future.
> 
> Thank you for the information. I'll describe it into near the
> definition.
> 
> In accordance with your explanation, I'm guessing that following
> Korean keys can be unified with latter generic keys. Is it right?
> 
> 	Key_Hangul_Codeinput    = 0x1137,  // Hangul code input mode
> 	Key_Hangul_SingleCandidate   = 0x113c,  // Single candidate
> 	Key_Hangul_MultipleCandidate = 0x113d,  // Multiple candidate
> 	Key_Hangul_PreviousCandidate = 0x113e,  // Previous candidate
> 	//Key_Hangul_switch       = 0x117e,  // Alias for mode_switch
> 
> 	// International & multi-key character composition
> 	Key_Codeinput           = 0x1137,
> 	Key_SingleCandidate     = 0x113c,
> 	Key_MultipleCandidate   = 0x113d,
> 	Key_PreviousCandidate   = 0x113e,
> 	// Misc Functions
> 	Key_Mode_switch         = 0x117e,  // Character set switch

I think this is right. 
I have never used such keys, so maybe, there is no problem, I think. :)

> 
> -------------------------------
> YamaKen  yamaken at bp.iij4u.or.jp
> _______________________________________________
> immodule-qt mailing list
> immodule-qt at freedesktop.org
> http://freedesktop.org/mailman/listinfo/immodule-qt



More information about the immodule-qt mailing list