Blender Git Loki
Git Commits -> Revision 84dcfa1
Revision 84dcfa1 by Campbell Barton (master) September 2, 2008, 06:12 (GMT) |
BGE Bugfix, SDL joysticks arrow keys didnt work when 2 joysticks were being used at the same time. The event queue was running for every joystick sensor without checking if the events were for that joystick. seperating the event queue for each joystick is overkill so instead deal with all joysticks events in once function. Also removed some unused functions |
Commit Details:
Full Hash: 84dcfa181b0722655ceba3930a2daa0e27e72f93
SVN Revision: 16333
Parent Commit: 81ad271
Lines Changed: +74, -158
7 Modified Paths:
/source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp (+0, -102) (Diff)
/source/gameengine/GameLogic/Joystick/SCA_Joystick.h (+13, -23) (Diff)
/source/gameengine/GameLogic/Joystick/SCA_JoystickDefines.h (+0, -8) (Diff)
/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp (+45, -11) (Diff)
/source/gameengine/GameLogic/Joystick/SCA_JoystickPrivate.h (+0, -4) (Diff)
/source/gameengine/GameLogic/SCA_JoystickManager.cpp (+14, -8) (Diff)
/source/gameengine/GameLogic/SCA_JoystickSensor.cpp (+2, -2) (Diff)
/source/gameengine/GameLogic/Joystick/SCA_Joystick.h (+13, -23) (Diff)
/source/gameengine/GameLogic/Joystick/SCA_JoystickDefines.h (+0, -8) (Diff)
/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp (+45, -11) (Diff)
/source/gameengine/GameLogic/Joystick/SCA_JoystickPrivate.h (+0, -4) (Diff)
/source/gameengine/GameLogic/SCA_JoystickManager.cpp (+14, -8) (Diff)
/source/gameengine/GameLogic/SCA_JoystickSensor.cpp (+2, -2) (Diff)