Issue 52: ibus-anthy: Add another typing_rule
http://code.google.com/p/ibus/issues/detail?id=52

Comment #24 by takuro.ashie:
I said "Please grep "SCIM_KEY_QuirkKanaRoMask" in scim & scim-anthy's  
source tree".

You can find following code in scim:

         KeySym *keysyms = XGetKeyboardMapping (display, xkey.keycode, 1,  
&keysym_size);
         if (keysyms != NULL) {
             if (keysyms[0] == XK_backslash &&
                 (keysym_size > 1 && keysyms[1] == XK_underscore))
                 scimkey.mask |= SCIM_KEY_QuirkKanaRoMask;
             XFree (keysyms);


The scim doesn't pass any keycode to IMEngines, and doesn't translate it by  
itself.
To distinguish baskslash and yen, the scim obtains shift modifired mapping  
for the
key from the X instead. If the key + shift is mapped as "underscore", it  
adds a
special keymask "SCIM_KEY_QuirkKanaRoMask".




-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ibus-devel" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/ibus-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

回复