Re: [AD] Ouya controller support

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


I pushed my changes to https://github.com/lilliemarck/allegro 5.1-ouya-ljoy. I think this may be good for official Allegro.

I added compatibility defines for BTN_CNT and ABS_CNT instead of using BTN_CNT+1 so noone reverts it later and breaks the android build.

The tv.ouya.DIRECT_INPUT_ACCESS use permission is placed in the library's manifest file and the example uses manifestmerger.enabled=true to include it.

I use Bundle.MODEL and check for "OUYA Console" to figure out which joystick driver to use.

/ Jonathan

2013/7/13 Trent Gamblin <nooskewl@xxxxxxxxxx>
I’ve been playing with some code based on official git. Joystick is working with the Linux driver as you said. I think the best approach will be to have the higher level joystick driver able to pull joysticks from multiple sources. iOS will likely need regular joystick support in additional to accelerometer soon too, if rumours are correct.
 
Trent



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