예제 #1
0
 private void PowerOff()
 {
     XBox360.PowerOffGamepads();
     Hide();
 }
예제 #2
0
 private static bool AnyGamepadHasButton(XBox360GamepadButton button)
 {
     return(XBox360.GetGamepads().Any(gamepad => gamepad.WButtons == button));
 }