please note, the stick order in x-box controllers does NOT follow the google standard, more precision the triggers and the right stick. Im thinks you can add this is line around 557 to perform a auto remapping, im should have do that long time ago:
if (SDLGlbasic.LastJoyname.contains("ouya")) { remapping = "0:1:4:2:3:5:9:9:9:9:"; }
if (SDLGlbasic.JoyMicrosoftProfile.contains("xbox")) { remapping = "0:1:4:2:3:5:9:9:9:9:"; }
if (SDLGlbasic.JoyMicrosoftProfile.contains("x-box")) { remapping = "0:1:4:2:3:5:9:9:9:9:"; }
Etc seach after the ouya one as its used the same order as the x-box one as you can see.
btw give me the java file, and im is happy to include and send it to Gernot!
The above is why you should include a remapping, mostly if you want to use the
right stick and a
triggers. if you only use left stick/dpad and the face buttons, then there should not been in any conflict at all! They does follow the Google standard quite well, but not allways throught (Ouya example). But most of time they do.
just to been noticed, you are risk to get your account banned to show ads in app enter and app exit. This is not a good user experience anyway at all. Use a Java call. etc do something like this (this is not a real code, but give you idea as not checked my self, all java calls from glbasic is called to glb_JAVACALL in SDLGlbasic.java):
// === SHOW A ADS ===
if (tokens[0].equals("Interstitial")) {
mInterstitialAd.show();
return result;
}