As mentioned here and here, the OUYA SDK provides a static method you can call to tell if the device is an OUYA or not:
OuyaSDK.IsOuya() // true or false
(Pending the caveat that as the OUYA OS goes to different hardware, what this means might change.)
Is it possible to expose this through OpenFL? I’m not sure how exactly OpenFL integrates with the SDK. (extension-ouya seems like it’s not updated any more.)
My question is, where is the OpenFL code today for any integration with OUYA? It must be somewhere (I couldn’t find it). HaxeFlixel has some classes for input detection, but I thought that’s just wrapping over OpenFL code (couldn’t find that, either).
People can help improve that extension, of course. It does not include the ODK because it only called a few things in JNI (I think) which we were able to recreate without the library, I think licensing terms meant we could not include the JAR directly. If they do allow inclusion of the JAR then that might be a better solution moving forward as they add things