Hi guys,

New user of pyglet, and potential contributor. I'm not sure if the core 
developers visit this forum, but I thought it was a good place to start. 
Basically, I want to implement support for SDL2 GameController_API style 
controller mapping, and wanted to knowthe minimum Python version I should 
target. Python 3 is a given, but is 2.7 old enough on the 2.x branch? Does 
pyglet still officially support older than that? 

In case anyone is not familar with the SDL2 Game Controller API, it's 
basically a way to have game controllers "just work" on Linux/Max/Windows. 
It presents an internal layout that mimics the ubiqitous Xbox360 layout. 
There is also an internal database of dozens of popular controllers that 
just work out of the box. For controllers that are not recognised yet, 
there is the ability to load mappings from a file 
(SDL_GameControllerAddMappingsFromFile), or automatically from an 
environmental value (SDL_GAMECONTROLLERCONFIG), as is the case when you 
launch a game under Steam. 
SDL Wiki page:  http://wiki.libsdl.org/CategoryGameController
GameController mapping database:  
https://github.com/gabomdq/SDL_GameControllerDB

This would be built on top of the existing pyglet joystick API, in much the 
same way as SDL2 does it.

Any feedback would be appreciated. 

-Ben


-- 
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 http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to