public void Update()
 {
     fred[0]      = XInput.GetButton(deviceId, XInput.Button.A);
     fred[1]      = XInput.GetButton(deviceId, XInput.Button.B);
     fred[2]      = XInput.GetButton(deviceId, XInput.Button.Y);
     fred[3]      = XInput.GetButton(deviceId, XInput.Button.X);
     fred[4]      = XInput.GetButton(deviceId, XInput.Button.LB);
     startPressed = XInput.GetButtonDown(deviceId, XInput.Button.Start);
     starPressed  = XInput.GetButtonDown(deviceId, XInput.Button.Back);
     strumPressed = XInput.GetButtonDown(deviceId, XInput.Button.DPadDown) | XInput.GetButtonDown(deviceId, XInput.Button.DPadUp);
     tilt         = XInput.GetAxis(deviceId, XInput.Axis.RY);
     whammy       = XInput.GetAxis(deviceId, XInput.Axis.RX);
 }