mirror of
				https://github.com/dolphin-emu/dolphin.git
				synced 2025-10-25 09:29:43 +00:00 
			
		
		
		
	git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5934 8ced0084-cf51-0410-be5f-012b33b47a6e
		
			
				
	
	
		
			36 lines
		
	
	
	
		
			897 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
	
		
			897 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # -*- python -*-
 | |
| import sys
 | |
| Import('env')
 | |
| 
 | |
| files = [
 | |
| 	'Configuration.cpp',
 | |
| 	'ControllerEmu.cpp',
 | |
| 	'InputConfig.cpp',
 | |
| 	'ControllerInterface/ControllerInterface.cpp',
 | |
| 	'UDPWiimote.cpp',
 | |
| 	'UDPWrapper.cpp',
 | |
| 	'SDL_Util.cpp',		# XXX needed by old Wiimote plugin
 | |
| 	]
 | |
| 
 | |
| 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/OSXMouse.mm',
 | |
| 		]
 | |
| elif env['HAVE_X11']:
 | |
| 	files += [
 | |
| 		'ControllerInterface/SDL/SDL.cpp',
 | |
| 		'ControllerInterface/Xlib/Xlib.cpp',
 | |
| 		'X11InputBase.cpp'
 | |
| 		]
 | |
| 
 | |
| env.StaticLibrary(env['local_libs'] + "inputcommon", files)
 |