/* ----------------------------------------------------------------------------------- * INITIAL SETUP */ public void Start() { // set the editor platform to get correct input while testing in the editor OuyaInput.SetEditorPlatform(editorWorkPlatform); // set button state scanning to receive input state events for trigger and d-pads OuyaInput.SetContiniousScanning(continiousScan); // define the deadzone if you want to use advanced joystick and trigger access OuyaInput.SetDeadzone(deadzoneType, deadzone); OuyaInput.SetTriggerTreshold(triggerTreshold); // do one controller update here to get everything started as soon as possible OuyaInput.UpdateControllers(); }