[iyonix-support] Re: Correcting Firefox assumptions

> On Fri, 27 Jun 2008 07:34:04 +0200 Herbert zur Nedden wrote:
> [snip]
>
> Keyboard
> --------
>
>> Peter is correct, when I wrote the keyboard code in ChoX11 it was hard
>> coded for the British Keyboard layout. As I did it a long time ago, I can
>> only assume I couldn't find anything appropriate to get the information
>> I needed for foreign keyboards. I had also been hoping that sooner
>> or later someone would come up with an open source module which can
>> give more key press/release details via the wimp so I didn't need to use
>> inkey at all.
>
> Some change here would be very much appreciated since I'm not used to
> using a UK keyboard (I do have one though since there is one to go
> with my IYONIX) but a German one.
>
> Perhaps I could offer the odd suggestion of how to fix this:
> 1. Use the wimp code to read the keyboard - that one does manage to
> support different language keypresses. But perhaps this is not
> an option since otherwise that might have been done already.
> 2. Offer some option to include a inkey-translation table and some
> tool to create and include them. I am sure that in order to get the
> input for that table the non-UK users will be glad to help to supply
> it.
>

Just to help clarify why inkey is used. The current key processing does use
the wimp key delivered to detect the keydown. However for X11 this has
to be turned into a key pressed and key released event. It is to detect a
key release that it has to use the inkey which is what is causing the
problem as there is no easy way to map a wimp key to the inkey value.

I'm afraid I don't know the code well enough to be able to comment on
how practical your suggested solution was.

Regards,
Alan




_________________________________________________________________

http://clk.atdmt.com/UKM/go/msnnkmgl0010000002ukm/direct/01/---
To alter your preferences or leave the group,
visit http://www.freelists.org/list/iyonix-support
Other info via http://www.freelists.org/webpage/iyonix-support

Other related posts: