mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
f292f6d5a7
which has too narrow a view of what constitutes a joystick. Now if only I could find my Apple IR Remote.. :-) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6844 8ced0084-cf51-0410-be5f-012b33b47a6e
34 lines
804 B
Python
34 lines
804 B
Python
# -*- python -*-
|
|
import sys
|
|
Import('env')
|
|
|
|
files = [
|
|
'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/SDL/SDL.cpp',
|
|
'ControllerInterface/XInput/XInput.cpp',
|
|
]
|
|
elif sys.platform == 'darwin':
|
|
files += [
|
|
'ControllerInterface/OSX/OSX.mm',
|
|
'ControllerInterface/OSX/OSXKeyboard.mm',
|
|
'ControllerInterface/OSX/OSXJoystick.mm',
|
|
]
|
|
elif env['HAVE_X11']:
|
|
files += [
|
|
'ControllerInterface/SDL/SDL.cpp',
|
|
'ControllerInterface/Xlib/Xlib.cpp',
|
|
]
|
|
|
|
env.StaticLibrary(env['local_libs'] + "inputcommon", files)
|