Hi Jon, 

I'm not very familiar with the inner workings of the pyglet event system 
yet (never really looked through that bit of code). However, I suspect it 
might not be possible to do what you want. Both the joysticks, and their 
individual controls rely on events to update their values. It seems like 
they rely on the event loop to do anything. Maybe it's possible to create 
your own custom event loop, just for the input? The pyglet docs are a bit 
scarce on how to do this unfortunately, so maybe someone who knows more 
will reply to your other thread. 

About the game controller support, it would be great if you could pase the 
device ids. I still need to figure out the SDL2 guid format for Mac, so 
that would be a great help. After that, adding support should be pretty 
easy. 

-Ben


On Friday, December 16, 2016 at 10:14:03 PM UTC+9, Jon wrote:
>
> I have a mac an XBox360 controller (might be able to get hold of a 
> standard joystick too) but I have the specific need of wanting to be able 
> to poll/dispatch events manually rather than using the app event loop as 
> mentioned in a separated thread: 
> https://groups.google.com/forum/#!forum/pyglet-users
>
> best wishes
> Jon
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to