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 );
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 );
// 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) ); }