BGE Bugfix, SDL joysticks arrow keys didnt work when 2 joysticks were being used...
authorCampbell Barton <ideasman42@gmail.com>
Tue, 2 Sep 2008 06:12:19 +0000 (06:12 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 2 Sep 2008 06:12:19 +0000 (06:12 +0000)
commit84dcfa181b0722655ceba3930a2daa0e27e72f93
treebb39eccc758e18c3a65d3101306f71b008e8eaf1
parent81ad271d157c70433b36af31581261ae8c2098a4
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
source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp
source/gameengine/GameLogic/Joystick/SCA_Joystick.h
source/gameengine/GameLogic/Joystick/SCA_JoystickDefines.h
source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp
source/gameengine/GameLogic/Joystick/SCA_JoystickPrivate.h
source/gameengine/GameLogic/SCA_JoystickManager.cpp
source/gameengine/GameLogic/SCA_JoystickSensor.cpp