Files
dolphin/Source/Core/InputCommon/Src/SConscript
T

37 lines
897 B
Python
Raw Normal View History

# -*- python -*-
2010-04-13 06:09:45 +00:00
import sys
2009-01-04 19:54:56 +00:00
Import('env')
files = [
2009-02-08 14:55:51 +00:00
'Configuration.cpp',
'ControllerEmu.cpp',
'InputConfig.cpp',
2010-04-13 06:09:45 +00:00
'ControllerInterface/ControllerInterface.cpp',
'UDPWiimote.cpp',
'UDPWrapper.cpp',
'SDL_Util.cpp', # XXX needed by old Wiimote plugin
2009-01-04 19:54:56 +00:00
]
if sys.platform == 'win32':
files += [
'ControllerInterface/DInput/DInput.cpp',
'ControllerInterface/DInput/DInputJoystick.cpp',
'ControllerInterface/DInput/DInputKeyboardMouse.cpp'
'ControllerInterface/SDL/SDL.cpp',
'ControllerInterface/XInput/XInput.cpp',
]
elif sys.platform == 'darwin':
files += [
2010-04-27 00:25:09 +00:00
'ControllerInterface/OSX/OSX.mm',
'ControllerInterface/OSX/OSXKeyboard.mm',
'ControllerInterface/OSX/OSXMouse.mm',
]
elif env['HAVE_X11']:
files += [
'ControllerInterface/SDL/SDL.cpp',
'ControllerInterface/Xlib/Xlib.cpp',
'X11InputBase.cpp'
]
2010-04-13 06:09:45 +00:00
2010-06-10 14:18:21 +00:00
env.StaticLibrary(env['local_libs'] + "inputcommon", files)