LibGDX + Ouya Issue

(I'm using LibGDX nightlies from yesterday, as well as the GDX Controller jar)

I successfully ported a game I made last year with almost no hassle. Audio works, the buttons work as expected, however pressing the "A" button on the controller closes the game, regardless of what screen I am at.

I don't believe it's a crash, I'm pretty sure Ouya is closing the game because I need to override some behaviour, but I'd love to get some help as to what to override.

Thanks!

Comments

  • VasteelVasteel Posts: 3Member
    I believe the Ouya "A" button maps to the "Back" button on any other Android device.
    Sounds like this may be relevant but I'm at work ATM so can't do much more digging.

    I plan to use LibGDX for Ouya and will be following some LibGDX tutorials later, will let you know if I come across this.
  • rabrantrabrant Posts: 8Member
    I'm using LibGDX as well. However, instead of using the gdx-controllers.jar I decided to use the OuyaController API in the ouya-sdk.jar. I haven't had any problems.
  • MagnesusMagnesus Posts: 304Member
    gdx-controllers.jar also works without issues. The A button works like back button which is why you want to block back button.

Sign In or Register to comment.