[sugar] key-press-event' to listen to game pad keys?

Erik Blankinship erikb at mediamods.com
Tue Aug 21 23:03:18 EDT 2007


How should one go about listening to the game button keys?

I tried connecting a 'key-press-event' to my activity, and I get back  ^[[4~ as
the check key and ^[[6~ as the X key.

Is there a better way than string matching these strange characters to know
which game key has been pressed?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/sugar/attachments/20070821/3b03199c/attachment-0001.htm 


More information about the Sugar mailing list