Well that explain a lot. I am new with android and newer with ouya but my experiences is with XNA and C# If its called automatically why do we have to have onkey funtion in the tutorials.
I am starting to make some headway. I want to call the onkeydown() function. I want to know if the user pressed the O button. c.onKeyDown(OuyaController.BUTTON_O, event); What goes in the event parameter? I also want to check if the left joystick is moving up or down.
I am making some progress. I am using opengl and when the game starts I initialize the controller then add the event functions. The event function send the status of each button,l thumbstick to input class. the class is static and is always updated with a controller event. I can not seem to do it any other way.
Comments
It is a HANDLER.
the class is static and is always updated with a controller event. I can not seem to do it any other way.