Author: akhaldi
Date: Thu Nov 17 23:27:31 2016
New Revision: 73308
URL:
http://svn.reactos.org/svn/reactos?rev=73308&view=rev
Log:
[PSDK] Update xinput.h. CORE-12409
Modified:
trunk/reactos/sdk/include/psdk/xinput.h
Modified: trunk/reactos/sdk/include/psdk/xinput.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/psdk/xinput.h?…
==============================================================================
--- trunk/reactos/sdk/include/psdk/xinput.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/psdk/xinput.h [iso-8859-1] Thu Nov 17 23:27:31 2016
@@ -170,10 +170,26 @@
SHORT sThumbRY;
} XINPUT_GAMEPAD, *PXINPUT_GAMEPAD;
+typedef struct _XINPUT_GAMEPAD_EX {
+ WORD wButtons;
+ BYTE bLeftTrigger;
+ BYTE bRightTrigger;
+ SHORT sThumbLX;
+ SHORT sThumbLY;
+ SHORT sThumbRX;
+ SHORT sThumbRY;
+ DWORD dwPaddingReserved;
+} XINPUT_GAMEPAD_EX, *PXINPUT_GAMEPAD_EX;
+
typedef struct _XINPUT_STATE {
DWORD dwPacketNumber;
XINPUT_GAMEPAD Gamepad;
} XINPUT_STATE, *PXINPUT_STATE;
+
+typedef struct _XINPUT_STATE_EX {
+ DWORD dwPacketNumber;
+ XINPUT_GAMEPAD_EX Gamepad;
+} XINPUT_STATE_EX, *PXINPUT_STATE_EX;
/*
* Defines the structure of how much vibration is set on both the
@@ -232,6 +248,8 @@
DWORD WINAPI XInputGetDSoundAudioDeviceGuids(DWORD, GUID*, GUID*);
DWORD WINAPI XInputGetBatteryInformation(DWORD, BYTE, XINPUT_BATTERY_INFORMATION*);
+DWORD WINAPI XInputGetStateEx(DWORD, XINPUT_STATE_EX*);
+
#ifdef __cplusplus
}
#endif