Accessing ODK functionality in Haxe NME?

RyusuiRyusui Posts: 16Member
I'll confess I know next to nothing about Java, and I'm an absolute beginner in Android development. I've been fiddling around with the Haxe language, which can compile to Android, and so far I've got an ultra-limited demo running on my Ouya. Unfortunately, I'm not sure how I'd go about accessing the ODK's functionality from my Haxe program: I spent a good portion of yesterday trying to figure out how to get my demo to recognize the joystick only to discover it requires me to explicitly call a specific function in the (Java-based) ODK.

Any ideas how to bridge the gap here?

Comments

  • PuzzlPuzzl Posts: 98Member
    edited June 2013
    Hi Ryusui. Have a look at http://www.nme.io/community/forums/general-discussion/ouya-game-console/ - maybe you already did.
    Basically : you dont need the ODK anymore. In Nme 4+ joystick support for the OUYA is implemented - however you need to reactivate it in MainView.java .
    Also, you might need to jump to Openfl now. Full controller support there in openfl-native is being prepared and word is that there surely will be an official OUYA integration release in the days/weeks to come.
    Post edited by Puzzl on
Sign In or Register to comment.