Ok, managed to solve it - turns out there was a bug in native_app_glue.cpp. The issue is outlined here: https://code.google.com/p/android/issues/detail?id=41755
Looking at this further, it only appears to be happening once you connect an OUYA controller. If you only connect an Xbox 360 controller, the input does not drop out. Still have not figured out why this is happening though or how to work around it.
Yeah, it's returning true - the game is still updating correctly other than input - it keeps using the existing values.I upped it to 20 - issue was still happening (and 20 is already far too much time to be spending waiting for events, makes things …
The main loop looks like thisvoid ATSystem_Main()
{
int ident, events;
struct android_poll_source* source;
while (ATSystem_Active())
{
while ((ident = ALooper_pollAll(1, NULL, &events, (void**)&source)) >= 0)
{
if (s…
I've been looking at the Tegra sample, but I've been noticing that controller input drops out after about a minute, both running the sample and in my own code. Is anyone else coming across this/any ideas?