Re: [AD] Ouya controller support

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


For mapping, I think we’ll need to use Ouya specifics. So we either need a way to “ifdef” it out, or possibly make some kind of Ouya addon, though I’m not sure what other features there would be to put in an addon. If there’s not much else then maybe just the ifdef approach is best.
 
Trent
 
Sent: Saturday, July 13, 2013 10:33 AM
Subject: Re: [AD] Ouya controller support
 
I guess we can implement a mouse driver with motion events similar to the first approach i tried. It seems like the controllers emits relative events and the system calculates where the cursor is. All controllers controls the same cursor on screen.
 
We still need to figure out how to map the input devices to a player index with the Linux driver. The event devices appear in the order they are connected and don't map directly to the lights on the controller. This could be done with the OuyaController class.
 
/ Jonathan

2013/7/13 Beoran <beoran@xxxxxxxxxx>
Dear Johnatan,

I checked your fork, it looks like it works with minimal changes indeed!
Thanks for figuring this out.

Due to the way the Linux driver for Allegro works, you
won't see the REL_X and REL_Y (mouse-like) events, but I assume that's
OK?

Kind Regards,

B.

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
--
https://lists.sourceforge.net/lists/listinfo/alleg-developers
 


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk


--
https://lists.sourceforge.net/lists/listinfo/alleg-developers


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/