Are the keystrokes instead passed to the terminal window that started your program? I had this problem until I used pythonw instead of python. I also had to use this small helper that installs pythonw in a virtual environment: https://github.com/gldnspud/virtualenv-pythonw-osx/
Jan On 08.09.2011, at 00:38, bleppie wrote: > Hi all, I've been trying out both the latest source release as well as > Phillip's clone that doesn't use pyobjc, and in both cases I don't get > key events in non-fullscreen windows. I get mouse events, and if I > watch the device directly (as in examples/input.py) I see the events. > They just never get passed along to my window. If I run fullscreen, > all works as expected. This happens with both my own code and the code > in the examples directory. > > Are others seeing this behavior and/or words of advice? > > Best, > Brian > > -- > 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. > -- 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.
