Added Joystick sensor (from snailrose)
[blender.git] / source / gameengine / GameLogic / SConscript
index f50e14e0af9bfc653f23e029c4e277255c2324b2..928667ea4c1d440703db12933a29a456a522481a 100755 (executable)
@@ -16,6 +16,8 @@ source_files = ['SCA_ANDController.cpp',
                 'SCA_IObject.cpp',
                 'SCA_IScene.cpp',
                 'SCA_ISensor.cpp',
+               'SCA_JoystickManager.cpp',
+               'SCA_JoystickSensor.cpp',
                 'SCA_KeyboardManager.cpp',
                 'SCA_KeyboardSensor.cpp',
                 'SCA_LogicManager.cpp',
@@ -30,7 +32,9 @@ source_files = ['SCA_ANDController.cpp',
                 'SCA_RandomEventManager.cpp',
                 'SCA_RandomNumberGenerator.cpp',
                 'SCA_RandomSensor.cpp',
-                'SCA_TimeEventManager.cpp']
+                'SCA_TimeEventManager.cpp',
+               'Joystick/SCA_Joystick.cpp',
+               'Joystick/SCA_JoystickEvents.cpp']
 
 sca_gamelogic_env.Append (CPPPATH=['.',
                                    '#/source/kernel/gen_system',
@@ -39,5 +43,6 @@ sca_gamelogic_env.Append (CPPPATH=['.',
                                    '#/intern/moto/include'])
 
 sca_gamelogic_env.Append (CPPPATH = user_options_dict['PYTHON_INCLUDE'])
+sca_gamelogic_env.Append (CPPPATH = user_options_dict['SDL_INCLUDE'])
 
 sca_gamelogic_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/SCA_GameLogic', source=source_files)