예제 #1
0
 static extern uint XInputGetCapabilities(
     int dwUserIndex,   // [in] Index of the gamer associated with the device
     uint dwFlags,       // [in] Input flags that identify the device type
     out XInputCapabilities capabilities  // [out] Receives the capabilities
 );
예제 #2
0
 extern static uint XInputGetCapabilities(
     int dwUserIndex,                    // [in] Index of the gamer associated with the device
     uint dwFlags,                       // [in] Input flags that identify the device type
     out XInputCapabilities capabilities // [out] Receives the capabilities
     );
예제 #3
0
 // Get the capabilities of controller 0, 1, 2, or 3
 public static void GetCapabilities(int controllerNumber, out XInputCapabilities caps)
 {
     XInputMethods.ProcessResult(
         XInputMethods.XInputGetCapabilities(controllerNumber, 0, out caps)
         );
 }
예제 #4
0
 // Get the capabilities of controller 0, 1, 2, or 3
 public static void GetCapabilities(int controllerNumber, out XInputCapabilities caps)
 {
     XInputMethods.ProcessResult(
         XInputMethods.XInputGetCapabilities(controllerNumber, 0, out caps)
         );
 }