The input module would make sense as a package. 

My issue with the Game Controller implementation is more a logistical one. 
>From a high level, "Game Controllers" are really simple. They are just 
joystick devices that match an internal configuration database. They then 
expose a consistent internal button/axis/trigger mapping. So essentially, 
the code is the same as a Joystick, plus the additional database check and 
button mapping. With that in mind, I was debating whether or not it would 
make sense to layer it on top of the Joystick class, or just create a 
parallel implementation. 

Layering it on top of the Joystick class would require a few additions to 
that class, so maybe it's not a good idea for a first revision. I think 
I'll do a parallel implementation, even if it does mean duplicating some 
methods (for example the _create_joystick method in evdev.py). 







On Friday, October 30, 2015 at 3:57:25 AM UTC+9, Rob wrote:
>
> And you thanks for the contribution. 
>
> For the place to add it, I am thinking we might need to upgrade the input 
> module to a package. We can then expose the original contents of the input 
> module through __init__.py.
>
> Rob
> On 29 Oct 2015 4:40 pm, "Benjamin Moran" <[email protected] <javascript:>> 
> wrote:
>
>> Thanks Leif, and Rob, for your feedback.
>>
>> I've been working on my Game Controller implementation as well, but need 
>> some opinions on the best place to add it in. It's probably best to start a 
>> new thread for that.
>>
>> --
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/pyglet-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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