Formalizing code module structure and inheritance (Large Commit)
- Commenting cleaned up - usb_keyboard_debug is not finished yet in terms of cleanup (needs DEBUB_PRINT #ifdef's) - Added LoadFile script generation - Formalized KeyIndex and USBKeys data containers - Split parts of scan_loop into Macro, USB, and main.c - Added interface to USB modules - Added interface to Macro modules - Added proper Debug module enable/disable
This commit is contained in:
		
							parent
							
								
									a0439f627b
								
							
						
					
					
						commit
						c01efa2d53
					
				
					 29 changed files with 774 additions and 198 deletions
				
			
		
							
								
								
									
										28
									
								
								Debug/full/setup.cmake
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								Debug/full/setup.cmake
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,28 @@
 | 
			
		|||
###| CMake Kiibohd Controller Debug Module |###
 | 
			
		||||
#
 | 
			
		||||
# Written by Jacob Alexander in 2011 for the Kiibohd Controller
 | 
			
		||||
#
 | 
			
		||||
# Released into the Public Domain
 | 
			
		||||
#
 | 
			
		||||
###
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
###
 | 
			
		||||
# Module C files
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
#| XXX Requires the ../ due to how the paths are constructed
 | 
			
		||||
set( DEBUG_SRCS
 | 
			
		||||
	../led/led.c
 | 
			
		||||
	../print/print.c
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
###
 | 
			
		||||
# Module Specific Options
 | 
			
		||||
#
 | 
			
		||||
add_definitions(
 | 
			
		||||
	-I${HEAD_DIR}/Debug/led
 | 
			
		||||
	-I${HEAD_DIR}/Debug/print
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue