public static void SetConfiguration(string name) { if (_instance._currentConfiguration != null && name == _instance._currentConfiguration.name) { return; } if (!_instance._configurationTable.ContainsKey(name)) { throw new ArgumentException("Unable to find any InputConfiguration named: " + name); } _instance._currentConfiguration = _instance._configurationTable[name]; ResetInputAxes(); _instance.RaiseConfigurationChangedEvent(name); }