/// <summary> /// sets the gamepad focus element and also turns on gamepad focus for this Stage. For gamepad focus to work you must set an initially /// focused element. /// </summary> /// <param name="focusable">Focusable.</param> public void SetGamepadFocusElement(IGamepadFocusable focusable) { _isGamepadFocusEnabled = true; if (focusable != null) { focusable.OnFocused(); } if (_gamepadFocusElement != null) { _gamepadFocusElement.OnUnfocused(); } _gamepadFocusElement = focusable; }