Exemplo n.º 1
0
        /// <summary>
        /// retirer un gamepad
        /// </summary>
        /// <param name="gamepad"></param>

        public void RemoveGamepad(Gamepad gamepad)
        {
            gamepad.Stop();

            this.Gamepads.Remove(gamepad);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Ajouter un gamepad
        /// </summary>
        /// <param name="gamepad"></param>

        public void AddGamepad(Gamepad gamepad)
        {
            this.Gamepads.Add(gamepad);
            gamepad.Start(Machine);
        }