Alistair Leslie-Hughes : include: Add space sim direct input defines.

Alexandre Julliard julliard at winehq.org
Fri Oct 4 16:34:04 CDT 2019


Module: wine
Branch: master
Commit: a9bc8a3bcf8860677c520c1ca37207e7794c5bc0
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=a9bc8a3bcf8860677c520c1ca37207e7794c5bc0

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Fri Oct  4 03:48:53 2019 +0000

include: Add space sim direct input defines.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/dinput.h | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/include/dinput.h b/include/dinput.h
index aca7005e31..92c6255cf3 100644
--- a/include/dinput.h
+++ b/include/dinput.h
@@ -2217,6 +2217,38 @@ extern const DIDATAFORMAT c_dfDIJoystick2;
 #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
  */




More information about the wine-cvs mailing list