I am using the ODK to manage input, and when running on the Ouya, I have noticed that while holding down the right (or left) trigger and then pressing and releasing the right (or left) bumper causes the input for the triggers to stop. This does not happen while running in editor and using an xbox 360 controller.
Here is the code that I am using in Update() to handle the trigger and bumper input:
if (OuyaInputManager.GetButtonDown("RT",player)){
value = 1.0f;
}else if (OuyaInputManager.GetButtonUp("RT",player)){
value = 0.0f;
}
and for the bumpers:
if (OuyaInputManager.GetButtonDown("LB",player)){
otherValue = 1.0f;
}else if (OuyaInputManager.GetButtonUp("LB",player)){
otherValue = 0.0f;
}
Has anyone else had this problem or can point me in the right direction to finding a fix?
Comments
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].