Relocate magic keycode processing (#7512)
* Move magic keycode processing to own file * Save some bytes * Update comments * Update define to one thats not already used... * Fix audio
This commit is contained in:
		
							parent
							
								
									1718dfa658
								
							
						
					
					
						commit
						d598f01cb7
					
				
					 5 changed files with 212 additions and 157 deletions
				
			
		| 
						 | 
				
			
			@ -407,12 +407,18 @@ ifeq ($(strip $(SPACE_CADET_ENABLE)), yes)
 | 
			
		|||
  OPT_DEFS += -DSPACE_CADET_ENABLE
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
ifeq ($(strip $(DIP_SWITCH_ENABLE)), yes)
 | 
			
		||||
  SRC += $(QUANTUM_DIR)/dip_switch.c
 | 
			
		||||
  OPT_DEFS += -DDIP_SWITCH_ENABLE
 | 
			
		||||
MAGIC_ENABLE ?= yes
 | 
			
		||||
ifeq ($(strip $(MAGIC_ENABLE)), yes)
 | 
			
		||||
    SRC += $(QUANTUM_DIR)/process_keycode/process_magic.c
 | 
			
		||||
    OPT_DEFS += -DMAGIC_KEYCODE_ENABLE
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
ifeq ($(strip $(DYNAMIC_MACRO_ENABLE)), yes)
 | 
			
		||||
    SRC += $(QUANTUM_DIR)/process_keycode/process_dynamic_macro.c
 | 
			
		||||
    OPT_DEFS += -DDYNAMIC_MACRO_ENABLE
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
ifeq ($(strip $(DIP_SWITCH_ENABLE)), yes)
 | 
			
		||||
  SRC += $(QUANTUM_DIR)/dip_switch.c
 | 
			
		||||
  OPT_DEFS += -DDIP_SWITCH_ENABLE
 | 
			
		||||
endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue