ref: http://pyglet.org/doc/programming_guide/keyboard_events.html
When key_press occurs, set a toggle. While that toggle is true, run your script? You can also use a KeyStateHandler that does the toggle management for you. On Sun, Jul 31, 2011 at 11:00 PM, MrXenotype <[email protected]>wrote: > It says there is no "keyrepeat". > > As in when I detect a key, it only runs the script once, and will wait > till it is released. > > How can I actually ENABLE keyrepeat. > > As in, I want it! :D > > -- > 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. > > -- Incoherently, Ricky Ng -- 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.
