summaryrefslogtreecommitdiff
path: root/src/fixer.h
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2002-09-07 03:03:52 +0000
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:37 +0200
commit7c43155a90b2f66b89b102bf5cee66e16a3e1a2f (patch)
tree9dbce6d43cfaf132265a5c0a2c2528d910227bb6 /src/fixer.h
parent553fa56442ec999960fda8c2842f692136d6ed1c (diff)
basic joystick support
Diffstat (limited to 'src/fixer.h')
-rw-r--r--src/fixer.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/fixer.h b/src/fixer.h
index df32540..2766cf7 100644
--- a/src/fixer.h
+++ b/src/fixer.h
@@ -205,6 +205,23 @@ typedef struct DPMSG_DESTROYPLAYERORGROUP
} DPMSG_DESTROYPLAYERORGROUP;
typedef DPMSG_DESTROYPLAYERORGROUP * LPDPMSG_DESTROYPLAYERORGROUP;
+#define JOYCAPS_HASR 1
+
+typedef struct JOYINFOEX
+{
+ int dwXpos;
+ int dwYpos;
+ int dwRpos;
+ int dwUpos;
+ int dwVpos;
+ int dwPOV;
+} JOYINFOEX;
+
+typedef struct JOYCAPS
+{
+ int wCaps;
+} JOYCAPS;
+
#ifdef __cplusplus
};
#endif