[PATCH 1/4] dinput.h: Added some dinput8 DIPROP definitions

Lucas Fialho Zawacki lfzawacki at gmail.com
Thu May 19 20:41:23 CDT 2011


---
 include/dinput.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/include/dinput.h b/include/dinput.h
index c52a1b7..486abef 100644
--- a/include/dinput.h
+++ b/include/dinput.h
@@ -766,6 +766,18 @@ typedef const DIPROPSTRING *LPCDIPROPSTRING;
 #define DIPROP_KEYNAME          MAKEDIPROP(20)
 #define DIPROP_VIDPID           MAKEDIPROP(24)

+#if(DIRECTINPUT_VERSION >= 0x0800)
+
+#define DIPROP_KEYNAME     MAKEDIPROP(20)
+#define DIPROP_CPOINTS     MAKEDIPROP(21)
+#define DIPROP_APPDATA     MAKEDIPROP(22)
+#define DIPROP_SCANCODE    MAKEDIPROP(23)
+#define DIPROP_VIDPID      MAKEDIPROP(24)
+#define DIPROP_USERNAME    MAKEDIPROP(25)
+#define DIPROP_TYPENAME    MAKEDIPROP(26)
+
+#endif
+
 typedef struct DIDEVCAPS_DX3 {
     DWORD	dwSize;
     DWORD	dwFlags;
--
1.7.0.4




More information about the wine-patches mailing list