public bool GuitarFretUp(GuitarFrets Fret) { switch (Fret) { case GuitarFrets.Green: { return(GamePad.ButtonUp(Buttons.A)); } case GuitarFrets.Red: { return(GamePad.ButtonUp(Buttons.B)); } case GuitarFrets.Yellow: { return(GamePad.ButtonUp(Buttons.Y)); } case GuitarFrets.Blue: { return(GamePad.ButtonUp(Buttons.X)); } case GuitarFrets.Orange: { return(GamePad.ButtonUp(Buttons.LeftShoulder)); } } return(false); }
public bool ButtonUp(ZuneButtons Button) { switch (Button) { case ZuneButtons.Up: { return(GamePad.ButtonUp(Buttons.DPadUp)); } case ZuneButtons.Down: { return(GamePad.ButtonUp(Buttons.DPadDown)); } case ZuneButtons.Right: { return(GamePad.ButtonUp(Buttons.DPadRight)); } case ZuneButtons.Left: { return(GamePad.ButtonUp(Buttons.DPadLeft)); } case ZuneButtons.Start: { return(GamePad.ButtonUp(Buttons.B)); } case ZuneButtons.Back: { return(GamePad.ButtonUp(Buttons.Back)); } case ZuneButtons.TouchCenter: { return(GamePad.ButtonUp(Buttons.LeftStick)); } case ZuneButtons.PressCenter: { return(GamePad.ButtonUp(Buttons.LeftShoulder)); } } return(false); }