It is the normal keyboard repeat. If I hold down my "a" key right now, I get this: aaaaaaaaaaaaaa
> ---------- Forwarded message ---------- > From: "Germán Diago" <[email protected]> > To: [email protected] > Date: Sun, 25 Oct 2009 15:48:44 +0100 > Subject: [pygtk] Problem with key-press-event. > Hello. I have an SDL window embedded in a socket in an application. > > Though this socket, key press events are sent to the SDL application. > > The problem is that if I hold, for example, the 'a' key pressed, > multiple key_press and key_release > events are generated. I don't know why this happens. > > The configuration for the set_events in socket is key_press mask, > key_release mask and button release and press > (I need them for other things). > > Does anybody know what is causing this strange behaviour? > > Thanks in advance. > > > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ > > _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
