Exemplo n.º 1
0
        protected override void RestoreAdditionalDefaults()
        {
            if (_Keyboard == null)
            {
                _Keyboard = new KeyboardSettings();
            }
            else
            {
                _Keyboard.RestoreDefaults();
            }

            if (_Gamepad == null)
            {
                _Gamepad = new GamepadSettings();
            }
            else
            {
                _Gamepad.RestoreDefaults();
            }
        }
Exemplo n.º 2
0
 private GamepadSettings(GamepadSettings source) : this()
 {
     CopySettingsFrom(source);
 }