Beispiel #1
0
        public XInputCapabilities GetCapabilities()
        {
            XInputCapabilities capabilities = new XInputCapabilities();

            XInput.XInputGetCapabilities(_playerIndex, XInputConstants.XINPUT_FLAG_GAMEPAD, ref capabilities);
            return(capabilities);
        }
Beispiel #2
0
 public static extern int XInputGetCapabilities
 (
     int dwUserIndex,   // [in] Index of the gamer associated with the device
     int dwFlags,       // [in] Input flags that identify the device type
     ref XInputCapabilities pCapabilities  // [out] Receives the capabilities
 );
Beispiel #3
0
 public static extern int XInputGetCapabilities
 (
     int dwUserIndex, 
     int dwFlags,
     ref XInputCapabilities pCapabilities
 );
Beispiel #4
0
 public static extern int XInputGetCapabilities
 (
     int dwUserIndex,                     // [in] Index of the gamer associated with the device
     int dwFlags,                         // [in] Input flags that identify the device type
     ref XInputCapabilities pCapabilities // [out] Receives the capabilities
 );
Beispiel #5
0
 public static extern int XInputGetCapabilities
 (
     int dwUserIndex,
     int dwFlags,
     ref XInputCapabilities pCapabilities
 );