Re: Map key codes to characters

2008-02-23 Thread Peter Edberg
Christian, The mapping from a sequence of key codes to a sequence of UniChars (UTF16 code units, for the modern APIs) can be complex and in general is a state machine in which the inputs include keycode, modifier state, dead key state, and physical keyboard ID, and the outputs are updated

Re: Map key codes to characters

2008-02-21 Thread Andrew Farmer
On 21 Feb 08, at 13:57, Nick Zitzmann wrote: On Feb 21, 2008 AD, at 2:48 PM, Christian Schmitz wrote: For example giving 12 and want to get a "Q" back and for providing "Q" I get a 12 back. Of course it would be nice to know the option keys. Is that possible? Currently I use iGetKeys, but t

Re: Map key codes to characters

2008-02-21 Thread Nick Zitzmann
On Feb 21, 2008 AD, at 2:48 PM, Christian Schmitz wrote: For example giving 12 and want to get a "Q" back and for providing "Q" I get a 12 back. Of course it would be nice to know the option keys. Is that possible? Currently I use iGetKeys, but that is failing for a lot of cases. The on