The easiest thing to do is just use joystick support from pygame. There is
nothing that prevents you from using modules from pygame in a pyglet
application, though this does impose SDL as a dependency - which is somewhat
cumbersome. However, it is easy enough to structure your program to make
this a optional dependency for optional joystick support.
On Dec 24, 2007 1:55 PM, Adam Bark <[EMAIL PROTECTED]> wrote:
> Is there anyway to use a joystick with pyglet?
>
> >
>
--
\\\\\/\"/\\\\\\\\\\\
\\\\/ // //\/\\\\\\\
\\\/ \\// /\ \/\\\\
\\/ /\/ / /\/ /\ \\\
\/ / /\/ /\ /\\\ \\
/ /\\\ /\\\ \\\\\/\
\/\\\\\/\\\\\/\\\\\\
d.p.s
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---