// ------------------- private void OnGamepadDisconnected(GamepadManager.Gamepad gamepad, GamepadManager.DisconnectionReason reason) { this.AddNotification(string.Format(this.msgGamepadDisconnected, gamepad.GetProfileName(), gamepad.GetSlot()), this.iconGamepadDisconnected); }
// ------------------ private void OnGamepadActivated(GamepadManager.Gamepad gamepad) { this.AddNotification(string.Format(this.msgGamepadActivated, gamepad.GetProfileName(), gamepad.GetSlot()), this.iconGamepadDisactivated); //this.AddNotification("Gamepad " + gamepad.GetProfileName() + " activated at slot " + gamepad.GetSlot() + "!"); //, Color.white); }