Hi bioroid,
Can you please explain what you actually need ?! Because there is controller support in the metaproject. You can use the class OuyaController.
Best
Hi,
We encountered the same problem. Our metaproject to find at: blog.levire.com has a running version with cocos2dx and ouya.
To fix your problem you should write a adapter for wchars and put in an alternative implementation from a third party …
So if i see it correctly you need to change your code to this:public boolean onKeyDown(int keyCode, KeyEvent event) { boolean handled = OuyaController.onKeyDown(keyCode, event); int deviceID = event.getDeviceId(); OuyaController control…
Hi,
there is an easy way to achieve this.
You need to override your onKeyDown Method in your MainActivity. At this position the OuyaController Class needs to be updated with:
boolean handled = OuyaController.onKeyDown(pKeyCode, pKeyEvent);
The Key…