[PATCH v2 01/10] include: Declare DIPROP_(PHYSICAL|LOGICAL)RANGE properties.

Rémi Bernon rbernon at codeweavers.com
Thu Nov 18 02:53:10 CST 2021


From: Ivo Ivanov <logos128 at gmail.com>
Signed-off-by: Ivo Ivanov <logos128 at gmail.com>
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---

v2: Fix dinput:device test failure, set dwObj to 0 in SetActionMap when
    setting device properties, check for dwObj == 0 in SetProperty for
    device properties.

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

diff --git a/include/dinput.h b/include/dinput.h
index a073054b388..71cc55aece5 100644
--- a/include/dinput.h
+++ b/include/dinput.h
@@ -917,6 +917,9 @@ typedef const DIPROPPOINTER *LPCDIPROPPOINTER;
 #define DIPROP_PRODUCTNAME      MAKEDIPROP(14)
 #define DIPROP_JOYSTICKID       MAKEDIPROP(15)
 
+#define DIPROP_PHYSICALRANGE    MAKEDIPROP(18)
+#define DIPROP_LOGICALRANGE     MAKEDIPROP(19)
+
 #define DIPROP_KEYNAME     MAKEDIPROP(20)
 #define DIPROP_CPOINTS     MAKEDIPROP(21)
 #define DIPROP_APPDATA     MAKEDIPROP(22)
-- 
2.33.1




More information about the wine-devel mailing list