/// <summary> /// /// </summary> private static void RemoveAllConfig() { InputManagerConfigurator config = new InputManagerConfigurator(); var stick_base_name = string.Format(XboxJoystick.XBOXJOYSTICK_PREFIX); config.RemoveAll(stick_base_name); }
/// <summary> /// コントローラーのコンフィグを削除 /// </summary> /// <param name="player_index"></param> private static void RemoveConfig(int player_index) { InputManagerConfigurator config = new InputManagerConfigurator(); var stick_base_name = string.Format(XboxJoystick.XBOXJOYSTICK_PREFIX + "{0} ", player_index); config.RemoveAll(stick_base_name); }