public override void JoystickReleased(Joystick sender, Joystick.JoystickState state)
 {
     //ConsoleDisplayN18.Write("Selected " + _menu.CursorLine);
     //Thread.Sleep(1000);
     //_menu.Draw();
     SelectState(_menu.CursorLine);
 }
Beispiel #2
0
        public override void JoystickReleased(Joystick sender, Joystick.JoystickState state)
        {
            if (MainHandle.ButtonLeft.IsLedOn)
            {
                MainHandle.ButtonLeft.TurnLEDOff();
            }
            else
            {
                MainHandle.ButtonLeft.TurnLEDOn();
            }

            if (MainHandle.ButtonRight.IsLedOn)
            {
                MainHandle.ButtonRight.TurnLEDOff();
            }
            else
            {
                MainHandle.ButtonRight.TurnLEDOn();
            }
        }
Beispiel #3
0
 void joystick_JoystickReleased(Joystick sender, Joystick.JoystickState state)
 {
 }
Beispiel #4
0
 void joystick_JoystickPressed(Joystick sender, Joystick.JoystickState state)
 {
 }
Beispiel #5
0
 public virtual void JoystickReleased(Joystick sender, Joystick.JoystickState state)
 {
 }
Beispiel #6
0
 public virtual void JoystickPressed(Joystick sender, Joystick.JoystickState state)
 {
 }
 void joystick_JoystickReleased(Joystick sender, Joystick.JoystickState state)
 {
     ResetGame();
 }
Beispiel #8
0
 void joystick_JoystickPressed(Joystick sender, Joystick.JoystickState state)
 {
     this.led7r.Animate(500, true, true, false);
     Debug.Print("Joystick pressed! Reseting Network Credentials!");
     hgd.ResetNetworkCredentials();
 }
Beispiel #9
0
 public override void JoystickReleased(Joystick sender, Joystick.JoystickState state)
 {
     Clear();
     _IsDetails = !_IsDetails;
     Draw();
 }