Add *_MATRIX_LED_COUNT generation/validation (#19515)
* Add *_MATRIX_LED_COUNT parsing/validation * Disable parsing for now * Disable complexity check
This commit is contained in:
		
							parent
							
								
									0a3ec7f59c
								
							
						
					
					
						commit
						25c16b3ade
					
				
					 3 changed files with 13 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -71,6 +71,7 @@
 | 
			
		|||
    "LED_MATRIX_SPLIT": {"info_key": "led_matrix.split_count", "value_type": "array.int"},
 | 
			
		||||
    "LED_MATRIX_TIMEOUT": {"info_key": "led_matrix.timeout", "value_type": "int"},
 | 
			
		||||
    "LED_MATRIX_VAL_STEP": {"info_key": "led_matrix.val_steps", "value_type": "int"},
 | 
			
		||||
    "LED_MATRIX_LED_COUNT": {"info_key": "led_matrix.led_count", "value_type": "int", "to_json": false},
 | 
			
		||||
 | 
			
		||||
    // LUFA Bootloader
 | 
			
		||||
    "QMK_ESC_INPUT": {"info_key": "qmk_lufa_bootloader.esc_input"},
 | 
			
		||||
| 
						 | 
				
			
			@ -109,6 +110,7 @@
 | 
			
		|||
    "RGB_MATRIX_SPLIT": {"info_key": "rgb_matrix.split_count", "value_type": "array.int"},
 | 
			
		||||
    "RGB_MATRIX_TIMEOUT": {"info_key": "rgb_matrix.timeout", "value_type": "int"},
 | 
			
		||||
    "RGB_MATRIX_VAL_STEP": {"info_key": "rgb_matrix.val_steps", "value_type": "int"},
 | 
			
		||||
    "RGB_MATRIX_LED_COUNT": {"info_key": "rgb_matrix.led_count", "value_type": "int", "to_json": false},
 | 
			
		||||
 | 
			
		||||
    // RGBLight
 | 
			
		||||
    "RGBLED_NUM": {"info_key": "rgblight.led_count", "value_type": "int"},
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -372,6 +372,7 @@
 | 
			
		|||
                    }
 | 
			
		||||
                },
 | 
			
		||||
                "driver": {"type": "string"},
 | 
			
		||||
                "led_count": {"$ref": "qmk.definitions.v1#/unsigned_int"},
 | 
			
		||||
                "center_point": {
 | 
			
		||||
                    "type": "array",
 | 
			
		||||
                    "minItems": 2,
 | 
			
		||||
| 
						 | 
				
			
			@ -423,6 +424,7 @@
 | 
			
		|||
                    }
 | 
			
		||||
                },
 | 
			
		||||
                "driver": {"type": "string"},
 | 
			
		||||
                "led_count": {"$ref": "qmk.definitions.v1#/unsigned_int"},
 | 
			
		||||
                "center_point": {
 | 
			
		||||
                    "type": "array",
 | 
			
		||||
                    "minItems": 2,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue