https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1477b2deb78fb2929b5ec…
commit 1477b2deb78fb2929b5ec6175a22921628378029
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sat Oct 26 13:03:08 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Sat Oct 26 13:03:08 2019 +0100
[PSDK] Update dinput.h. CORE-16441
---
sdk/include/psdk/dinput.h | 57 +++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 55 insertions(+), 2 deletions(-)
diff --git a/sdk/include/psdk/dinput.h b/sdk/include/psdk/dinput.h
index d1d7180c216..cde2f234cb9 100644
--- a/sdk/include/psdk/dinput.h
+++ b/sdk/include/psdk/dinput.h
@@ -910,8 +910,6 @@ typedef const DIPROPSTRING *LPCDIPROPSTRING;
#define DIPROP_INSTANCENAME MAKEDIPROP(13)
#define DIPROP_PRODUCTNAME MAKEDIPROP(14)
#define DIPROP_JOYSTICKID MAKEDIPROP(15)
-#define DIPROP_KEYNAME MAKEDIPROP(20)
-#define DIPROP_VIDPID MAKEDIPROP(24)
#define DIPROP_KEYNAME MAKEDIPROP(20)
#define DIPROP_CPOINTS MAKEDIPROP(21)
@@ -2195,6 +2193,61 @@ extern const DIDATAFORMAT c_dfDIJoystick2;
#define DIPOV_ANY_4 0xFF004604
#define DIBUTTON_ANY(instance) (0xFF004400 | (instance))
+#define DIVIRTUAL_FLYING_HELICOPTER 0x06000000
+#define DIBUTTON_FLYINGH_MENU 0x060004fd
+#define DIBUTTON_FLYINGH_FIRE 0x06001401
+#define DIBUTTON_FLYINGH_WEAPONS 0x06001402
+#define DIBUTTON_FLYINGH_TARGET 0x06001403
+#define DIBUTTON_FLYINGH_DEVICE 0x060044fe
+#define DIBUTTON_FLYINGH_PAUSE 0x060044fc
+#define DIHATSWITCH_FLYINGH_GLANCE 0x06004601
+#define DIBUTTON_FLYINGH_FIRESECONDARY 0x06004c07
+#define DIBUTTON_FLYINGH_COUNTER 0x06005404
+#define DIBUTTON_FLYINGH_VIEW 0x06006405
+#define DIBUTTON_FLYINGH_GEAR 0x06006406
+#define DIAXIS_FLYINGH_BANK 0x06008a01
+#define DIAXIS_FLYINGH_PITCH 0x06010a02
+#define DIAXIS_FLYINGH_COLLECTIVE 0x06018a03
+#define DIAXIS_FLYINGH_TORQUE 0x06025a04
+#define DIAXIS_FLYINGH_THROTTLE 0x0603da05
+#define DIBUTTON_FLYINGH_FASTER_LINK 0x0603dce0
+#define DIBUTTON_FLYINGH_SLOWER_LINK 0x0603dce8
+#define DIBUTTON_FLYINGH_GLANCE_LEFT_LINK 0x0607c4e4
+#define DIBUTTON_FLYINGH_GLANCE_RIGHT_LINK 0x0607c4ec
+#define DIBUTTON_FLYINGH_GLANCE_UP_LINK 0x0607c4e0
+#define DIBUTTON_FLYINGH_GLANCE_DOWN_LINK 0x0607c4e8
+
+#define DIVIRTUAL_SPACESIM 0x07000000
+#define DIBUTTON_SPACESIM_FIRE 0x07000401
+#define DIBUTTON_SPACESIM_WEAPONS 0x07000402
+#define DIBUTTON_SPACESIM_TARGET 0x07000403
+#define DIBUTTON_SPACESIM_MENU 0x070004fd
+#define DIBUTTON_SPACESIM_VIEW 0x07004404
+#define DIBUTTON_SPACESIM_DISPLAY 0x07004405
+#define DIBUTTON_SPACESIM_RAISE 0x07004406
+#define DIBUTTON_SPACESIM_LOWER 0x07004407
+#define DIBUTTON_SPACESIM_GEAR 0x07004408
+#define DIBUTTON_SPACESIM_FIRESECONDARY 0x07004409
+#define DIBUTTON_SPACESIM_PAUSE 0x070044fc
+#define DIBUTTON_SPACESIM_DEVICE 0x070044fe
+#define DIHATSWITCH_SPACESIM_GLANCE 0x07004601
+#define DIBUTTON_SPACESIM_LEFT_LINK 0x0700c4e4
+#define DIBUTTON_SPACESIM_RIGHT_LINK 0x0700c4ec
+#define DIAXIS_SPACESIM_LATERAL 0x07008201
+#define DIAXIS_SPACESIM_MOVE 0x07010202
+#define DIBUTTON_SPACESIM_FORWARD_LINK 0x070144e0
+#define DIBUTTON_SPACESIM_BACKWARD_LINK 0x070144e8
+#define DIAXIS_SPACESIM_CLIMB 0x0701c204
+#define DIAXIS_SPACESIM_ROTATE 0x07024205
+#define DIBUTTON_SPACESIM_TURN_LEFT_LINK 0x070244e4
+#define DIBUTTON_SPACESIM_TURN_RIGHT_LINK 0x070244ec
+#define DIAXIS_SPACESIM_THROTTLE 0x07038203
+#define DIBUTTON_SPACESIM_FASTER_LINK 0x0703c4e0
+#define DIBUTTON_SPACESIM_SLOWER_LINK 0x0703c4e8
+#define DIBUTTON_SPACESIM_GLANCE_UP_LINK 0x0707c4e0
+#define DIBUTTON_SPACESIM_GLANCE_LEFT_LINK 0x0707c4e4
+#define DIBUTTON_SPACESIM_GLANCE_DOWN_LINK 0x0707c4e8
+#define DIBUTTON_SPACESIM_GLANCE_RIGHT_LINK 0x0707c4ec
/*****************************************************************************
* IDirectInputA interface