Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Bolsee <benoit.bolsee@online.be>2008-08-31 22:42:58 +0400
committerBenoit Bolsee <benoit.bolsee@online.be>2008-08-31 22:42:58 +0400
commit74339c639a7dee831cb54bd056c111a4c37a40e4 (patch)
tree1e7499706e445902810aaf4bd7e5076b2e9447bc /source/gameengine/GameLogic/SCA_JoystickManager.h
parenta4e74c92f776a362be542098db7844faa9498c74 (diff)
BGE patch approved: BGE Multiple Joysticks
Diffstat (limited to 'source/gameengine/GameLogic/SCA_JoystickManager.h')
-rw-r--r--source/gameengine/GameLogic/SCA_JoystickManager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/GameLogic/SCA_JoystickManager.h b/source/gameengine/GameLogic/SCA_JoystickManager.h
index f2bb27965fa..d3a7ac95bea 100644
--- a/source/gameengine/GameLogic/SCA_JoystickManager.h
+++ b/source/gameengine/GameLogic/SCA_JoystickManager.h
@@ -40,12 +40,12 @@ class SCA_JoystickManager : public SCA_EventManager
/**
* SDL Joystick Class Instance
*/
- SCA_Joystick *m_joystick;
+ SCA_Joystick *m_joystick[JOYINDEX_MAX];
public:
SCA_JoystickManager(class SCA_LogicManager* logicmgr);
virtual ~SCA_JoystickManager();
virtual void NextFrame(double curtime,double deltatime);
- SCA_Joystick* GetJoystickDevice(void);
+ SCA_Joystick* GetJoystickDevice(short int joyindex);
};