Open witnessmenow opened 11 years ago
I think the way to fix this is:
in GamePadControls create a new boolean "system", make sure its public
In the Ouya Listener, Listen for the click down event of the button and set system to true
Dont listen for the up event.
The only thing that reads this should be MenuInputsHelper, after it has read the current status of the button, set the enterPressed boolean to be true, then set the system property of gamePadControls to be false.
If I was to make this change now we would probably have to merge
I checked in what changes we discussed on the hang out, I'm not sure if more were needed but sure let me know how it goes. I can make additional changes if needed.
Currently the controller listener is setting the pause button to true when button down on the Ouya button is clicked, and sets it to false on button up.
The Ouya button does not seemed to be treated like a regular button, it seems to pulse send button downs followed by button ups:
06-05 23:16:11.042: I/OuyaListener(1829): ButtonCode: 82 06-05 23:16:11.042: I/OuyaListener(1829): Start is pressed 06-05 23:16:11.042: I/OuyaListener(1829): Button Up - ButtonCode: 82 06-05 23:16:11.042: I/OuyaListener(1829): Start Button is up
it is happening so fast that the thing stepping through to see if the start button is true never catches it. (its happening in the same mili second)