> Actually, I don't want to create accented characters directly. Like the
> Graffiti engine, I want to create them as a two-stroke process. Picture
the
> user making a regular "a," for example, and then making a slash "/" and
they
> get an a-with-a-slash over it. Just like the old Graffiti way did it. I
was
> hoping that the OS would just take care of this automatically, and I still
> think it might, given that the correct keyDown events are generated in
> succession. Do you know of how to do it this way? Thanks.
>

    On recognized 'A' you should enqueue 'A' (and remember this char). On
recognized accent stroke you should check remembered char and in case of
possible accent enqueue backspace (code 0x8) and accented character. All
palmos field controls handle this sequence properly and produce single
accented char in field instead of 3-character sequence.
    My DeadHack works in the similar manner and reversed char order, with
deadkey first.




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to