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