コード例 #1
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
 );
コード例 #2
0
ファイル: XInput.cs プロジェクト: pnolin/LiveSplit
 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
ファイル: XInput.cs プロジェクト: pnolin/LiveSplit
 // 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)
         );
 }