[openi18n-im:01416] Re: patch to support key release event

Federic Zhang <[email protected]> Fri, 17 Jun 2005 17:58:07 +0800
Newsgroups gmane.comp.internationalization.input-methods
Message-ID <[email protected]>
Hi,

It turns out that the value of need_keyrelease is correct.

I checked in all codes today, would you please try to build and verify
them? Thanks!

To enable the key release event within LE, please add following code in
your if_GetIfInfo

  case IF_SUPPORTED_KEYRELEASE:
      args->value = True;
      break;

Please note:

  * the handling of IIIIMCF_EVENT_TYPE_KEYEVENT in iiim_event_dispatch
for IIIMGCF 
    is disabled, can somebody take a look at it and correct it if any
problem exists.
  * similar change should be made to other CF, including iiimxcf and
iiimqcf.

-federic


> Hi,
> 
> Attached is the patch to support key release event. It isn't so hard as
> we imagine to support it. Somehow the iml_if->need_keyrelease isn't set
> correct in this implementation, both press and release event will be
> sent to LE. Will try to fix it tomorrow.
> 
> -federic
>