summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreas <andreas@hdvdr.(none)>2013-11-23 15:19:07 (GMT)
committerandreas <andreas@hdvdr.(none)>2013-11-23 15:19:07 (GMT)
commitf722576f0b4a2b255678419f66b00854f77a29b1 (patch)
treeb067ec4b2559f0a3a5c10b2f9d9162ba56c19707
parentc9f57c0fb054f8ae9a3f1af9c3f5685228eea5a4 (diff)
downloadvdr-plugin-gamepad-f722576f0b4a2b255678419f66b00854f77a29b1.tar.gz
vdr-plugin-gamepad-f722576f0b4a2b255678419f66b00854f77a29b1.tar.bz2
change maximum number of axis to 8 to support XBOX gamepad
-rwxr-xr-xgamepad_handler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gamepad_handler.h b/gamepad_handler.h
index 3dbdf01..dcb70b6 100755
--- a/gamepad_handler.h
+++ b/gamepad_handler.h
@@ -43,7 +43,7 @@ class cGamepadHandler
generic_event* event(void);
static const int MAX_NUM_BUTTONS = 16;
- static const int MAX_NUM_AXIS = 6;
+ static const int MAX_NUM_AXIS = 8;
static const int AXIS_DEAD_ZONE = 15000;
static const int MAX_KEYS = MAX_NUM_BUTTONS + 2*MAX_NUM_AXIS;