On Fri, Mar 27, 2009 at 5:56 AM, Nicolas Rougier
<[email protected]> wrote:
>
>
> Hi,
>
> There may be a problem with keyboard layout on macos, program below
> gives me the following output:
>
> Q was pressed
> a
> A was pressed
> q
>
> Anyone confirms ?

I can confirm it (using a US keyboard with French layout).  The
problem is because pyglet maps Quartz key codes, which are based on a
US keyboard layout, to pyglet key symbols directly.  On Windows pyglet
first attempts to translate the virtual key code through the current
keyboard layout map.  I've opened issue 405 to track the issue.
Patches welcome!

Alex.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" 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/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to