dolphin/Source/Core/InputCommon/Src/SConscript
Soren Jorvang 697480f5cc Remove long-rotted vestiges of SDL video output.
Use SDL for input devices only on Windows and Linux. 
(Still globally enabled for the legacy Wiimote plugin.)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5886 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-16 19:17:35 +00:00

40 lines
935 B
Python

# -*- python -*-
import sys
Import('env')
files = [
'Configuration.cpp',
'ControllerEmu.cpp',
'InputConfig.cpp',
'ControllerInterface/ControllerInterface.cpp',
'UDPWiimote.cpp',
'UDPWrapper.cpp'
]
if sys.platform == 'win32':
files += [
'ControllerInterface/DInput/DInput.cpp',
'ControllerInterface/DInput/DInputJoystick.cpp',
'ControllerInterface/DInput/DInputKeyboardMouse.cpp'
'ControllerInterface/XInput/XInput.cpp',
]
elif sys.platform == 'darwin':
files += [
'ControllerInterface/OSX/OSX.mm',
'ControllerInterface/OSX/OSXKeyboard.mm',
'ControllerInterface/OSX/OSXMouse.mm',
'SDL_Util.cpp', # XXX needed by old Wiimote plugin
]
else:
files += [
'ControllerInterface/Xlib/Xlib.cpp',
'X11InputBase.cpp'
]
if sys.platform == 'win32' or sys.platform == 'linux2':
files += [
'ControllerInterface/SDL/SDL.cpp',
'SDL_Util.cpp',
]
env.StaticLibrary(env['local_libs'] + "inputcommon", files)