Implement data driven dip switches (#22017)
* Add data driven dip switches * Autogen weak matrix_mask
This commit is contained in:
		
							parent
							
								
									64ea1179b1
								
							
						
					
					
						commit
						98530cad3b
					
				
					 6 changed files with 94 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -45,6 +45,10 @@
 | 
			
		|||
    // Combos
 | 
			
		||||
    "COMBO_TERM": {"info_key": "combo.term", "value_type": "int"},
 | 
			
		||||
 | 
			
		||||
    "DIP_SWITCH_MATRIX_GRID": {"info_key": "dip_switch.matrix_grid", "value_type": "array.array.int", "to_json": false},
 | 
			
		||||
    "DIP_SWITCH_PINS": {"info_key": "dip_switch.pins", "value_type": "array"},
 | 
			
		||||
    "DIP_SWITCH_PINS_RIGHT": {"info_key": "split.dip_switch.right.pins", "value_type": "array"},
 | 
			
		||||
 | 
			
		||||
    // Dynamic Keymap
 | 
			
		||||
    "DYNAMIC_KEYMAP_EEPROM_MAX_ADDR": {"info_key": "dynamic_keymap.eeprom_max_addr", "value_type": "int"},
 | 
			
		||||
    "DYNAMIC_KEYMAP_LAYER_COUNT": {"info_key": "dynamic_keymap.layer_count", "value_type": "int"},
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,6 +17,7 @@
 | 
			
		|||
    "BOOTLOADER": {"info_key": "bootloader", "warn_duplicate": false},
 | 
			
		||||
    "BOOTMAGIC_ENABLE": {"info_key": "bootmagic.enabled", "value_type": "bool"},
 | 
			
		||||
    "CAPS_WORD_ENABLE": {"info_key": "caps_word.enabled", "value_type": "bool"},
 | 
			
		||||
    "DIP_SWITCH_ENABLE": {"info_key": "dip_switch.enabled", "value_type": "bool"},
 | 
			
		||||
    "DEBOUNCE_TYPE": {"info_key": "build.debounce_type"},
 | 
			
		||||
    "EEPROM_DRIVER": {"info_key": "eeprom.driver"},
 | 
			
		||||
    "ENCODER_ENABLE": {"info_key": "encoder.enabled", "value_type": "bool"},
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue