2009-01-15 06:48:15 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# -*- 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',
							 | 
						
					
						
							
								
									
										
										
										
											2010-06-12 17:39:33 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									'ControllerEmu.cpp',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									'InputConfig.cpp',
							 | 
						
					
						
							
								
									
										
										
										
											2010-04-13 06:09:45 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									'ControllerInterface/ControllerInterface.cpp',
							 | 
						
					
						
							
								
									
										
										
										
											2010-07-05 10:46:32 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									'UDPWiimote.cpp',
							 | 
						
					
						
							
								
									
										
										
										
											2010-07-22 03:29:35 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									'UDPWrapper.cpp',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									'SDL_Util.cpp',		# XXX needed by old Wiimote plugin
							 | 
						
					
						
							
								
									
										
										
										
											2009-01-04 19:54:56 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
									]
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2010-06-26 19:17:43 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								if sys.platform == 'win32':
							 | 
						
					
						
							
								
									
										
										
										
											2009-07-09 06:50:22 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									files += [
							 | 
						
					
						
							
								
									
										
										
										
											2010-07-09 01:26:53 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										'ControllerInterface/DInput/DInput.cpp',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										'ControllerInterface/DInput/DInputJoystick.cpp',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										'ControllerInterface/DInput/DInputKeyboardMouse.cpp'
							 | 
						
					
						
							
								
									
										
										
										
											2010-07-22 03:29:35 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										'ControllerInterface/SDL/SDL.cpp',
							 | 
						
					
						
							
								
									
										
										
										
											2010-07-09 01:26:53 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										'ControllerInterface/XInput/XInput.cpp',
							 | 
						
					
						
							
								
									
										
										
										
											2009-07-09 06:50:22 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										]
							 | 
						
					
						
							
								
									
										
										
										
											2010-06-26 19:17:43 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								elif sys.platform == 'darwin':
							 | 
						
					
						
							
								
									
										
										
										
											2010-04-20 13:19:36 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									files += [
							 | 
						
					
						
							
								
									
										
										
										
											2010-04-27 00:25:09 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										'ControllerInterface/OSX/OSX.mm',
							 | 
						
					
						
							
								
									
										
										
										
											2010-04-27 07:33:33 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										'ControllerInterface/OSX/OSXKeyboard.mm',
							 | 
						
					
						
							
								
									
										
										
										
											2010-07-16 19:17:35 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										'ControllerInterface/OSX/OSXMouse.mm',
							 | 
						
					
						
							
								
									
										
										
										
											2010-04-20 13:19:36 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										]
							 | 
						
					
						
							
								
									
										
										
										
											2010-07-22 03:29:35 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								elif env['HAVE_X11']:
							 | 
						
					
						
							
								
									
										
										
										
											2010-04-20 13:19:36 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									files += [
							 | 
						
					
						
							
								
									
										
										
										
											2010-07-22 03:29:35 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										'ControllerInterface/SDL/SDL.cpp',
							 | 
						
					
						
							
								
									
										
										
										
											2010-06-26 19:17:43 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										'ControllerInterface/Xlib/Xlib.cpp',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										'X11InputBase.cpp'
							 | 
						
					
						
							
								
									
										
										
										
											2010-04-20 13:19:36 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										]
							 | 
						
					
						
							
								
									
										
										
										
											2010-04-13 06:09:45 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2010-06-10 14:18:21 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								env.StaticLibrary(env['local_libs'] + "inputcommon", files)
							 |