summaryrefslogtreecommitdiff
path: root/src/qcommon
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2012-02-15 18:26:08 +0000
committerTim Angus <tim@ngus.net>2013-01-12 20:18:10 +0000
commit34d3ae31b90edec62239d7b56b078fa11cc80377 (patch)
tree3af7a278a172e3e122a9b8af5e70be49faece0f0 /src/qcommon
parentcfcced7d3f83bd151f5be42bca4449f70375fc0e (diff)
Support up to 16 joystick axes, select which to use with j_*_axis cvars.
Diffstat (limited to 'src/qcommon')
-rw-r--r--src/qcommon/qcommon.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/qcommon/qcommon.h b/src/qcommon/qcommon.h
index 70a944fd..40fc58cb 100644
--- a/src/qcommon/qcommon.h
+++ b/src/qcommon/qcommon.h
@@ -1028,15 +1028,7 @@ NON-PORTABLE SYSTEM SERVICES
==============================================================
*/
-typedef enum {
- AXIS_SIDE,
- AXIS_FORWARD,
- AXIS_UP,
- AXIS_ROLL,
- AXIS_YAW,
- AXIS_PITCH,
- MAX_JOYSTICK_AXIS
-} joystickAxis_t;
+#define MAX_JOYSTICK_AXIS 16
void Sys_Init (void);