diff options
author | andreas <andreas@hdvdr.(none)> | 2013-11-23 16:19:07 +0100 |
---|---|---|
committer | andreas <andreas@hdvdr.(none)> | 2013-11-23 16:19:07 +0100 |
commit | f722576f0b4a2b255678419f66b00854f77a29b1 (patch) | |
tree | b067ec4b2559f0a3a5c10b2f9d9162ba56c19707 | |
parent | c9f57c0fb054f8ae9a3f1af9c3f5685228eea5a4 (diff) | |
download | vdr-plugin-gamepad-f722576f0b4a2b255678419f66b00854f77a29b1.tar.gz vdr-plugin-gamepad-f722576f0b4a2b255678419f66b00854f77a29b1.tar.bz2 |
change maximum number of axis to 8 to support XBOX gamepad
-rwxr-xr-x | gamepad_handler.h | 2 |
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; |