public void InitializeDefaults() { Preferences.InitializeDefaultShortcuts(); if (NeedInputReinit) { Input.InitializeDefaults(DefaultKeyMappings); NeedInputReinit = false; } ConfigManager.ApplyChanges(); }
public void InitializeDefaults() { if (NeedInputReinit2) { Input.Controllers = new ControllerConfig[5]; Preferences.ShortcutKeys1 = null; Preferences.ShortcutKeys2 = null; Input.InitializeDefaults(DefaultKeyMappings); NeedInputReinit2 = false; } Preferences.InitializeDefaultShortcuts(); ConfigManager.ApplyChanges(); }