I have ported some of my C code to Java but it feels like the wrong way to do this. I already have a branch of the game using Allegro so It’s better to port that instead.

The current version of Allegro for Android can report some controller buttons as key codes. Those keys would be enough to port the game if using only the D-Pad but I think its better to implement a special joystick driver for OUYA instead and support all buttons and joystick axes. This enables testing the game on Linux using using the controller.

I currently have a branch of the Allegro code here.

