diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-04-07 23:21:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-04-07 23:21:48 +0400 |
commit | d012a222a21d4a2fb7f8879484755b89f80ecbb2 (patch) | |
tree | 2ce7e1bace5ae08d6cc0386fb7063faf777efebd /source/gameengine/GameLogic/Joystick | |
parent | ca1c3be3029a7a7aada686372ca1dd6ab39f0547 (diff) |
Some users have odd joysticks with more then 8 axises, increased to 16 (so 4 joysticks)
Ideally there would be no limit but I dont think its worth the effort.
Also had a bug in last commit for the pytyhon api's "axisSingle" attribute, UI index starts at 1 not zero.
Diffstat (limited to 'source/gameengine/GameLogic/Joystick')
-rw-r--r-- | source/gameengine/GameLogic/Joystick/SCA_JoystickDefines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/GameLogic/Joystick/SCA_JoystickDefines.h b/source/gameengine/GameLogic/Joystick/SCA_JoystickDefines.h index 42fed51b19f..636c4dd5a42 100644 --- a/source/gameengine/GameLogic/Joystick/SCA_JoystickDefines.h +++ b/source/gameengine/GameLogic/Joystick/SCA_JoystickDefines.h @@ -39,7 +39,7 @@ #endif #define JOYINDEX_MAX 8 -#define JOYAXIS_MAX 8 +#define JOYAXIS_MAX 16 #define JOYAXIS_RIGHT 0 #define JOYAXIS_UP 1 |