[sugar] key-press-event' to listen to game pad keys?
Marco Pesenti Gritti
mpgritti
Wed Aug 22 07:46:25 EDT 2007
Ccing jg. I'm not sure how these are currently mapped in X or what's
the plan longer term about them.
On 8/22/07, Erik Blankinship <erikb at mediamods.com> wrote:
> 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?
>
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar
>
>
More information about the Sugar-devel
mailing list