Move LED indicator config to data driven (#19800)
This commit is contained in:
		
							parent
							
								
									d784f78bd0
								
							
						
					
					
						commit
						f4ba17c4a0
					
				
					 979 changed files with 1935 additions and 2171 deletions
				
			
		| 
						 | 
				
			
			@ -26,9 +26,6 @@
 | 
			
		|||
 | 
			
		||||
#define DIODE_DIRECTION COL2ROW
 | 
			
		||||
 | 
			
		||||
#define LED_CAPS_LOCK_PIN F6
 | 
			
		||||
#define LED_PIN_ON_STATE 0
 | 
			
		||||
 | 
			
		||||
#define RGB_DI_PIN D2
 | 
			
		||||
#ifdef RGB_DI_PIN
 | 
			
		||||
    #define RGBLED_NUM 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,10 @@
 | 
			
		|||
    "pid": "0x0005",
 | 
			
		||||
    "device_version": "0.0.1"
 | 
			
		||||
  },
 | 
			
		||||
  "indicators": {
 | 
			
		||||
    "caps_lock": "F6",
 | 
			
		||||
    "on_state": 0
 | 
			
		||||
  },
 | 
			
		||||
  "processor": "atmega32u4",
 | 
			
		||||
  "bootloader": "atmel-dfu",
 | 
			
		||||
  "layout_aliases": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,9 +26,6 @@
 | 
			
		|||
 | 
			
		||||
#define DIODE_DIRECTION COL2ROW
 | 
			
		||||
 | 
			
		||||
#define LED_CAPS_LOCK_PIN F6
 | 
			
		||||
#define LED_PIN_ON_STATE 0
 | 
			
		||||
 | 
			
		||||
#define RGB_DI_PIN D2
 | 
			
		||||
#ifdef RGB_DI_PIN
 | 
			
		||||
    #define RGBLED_NUM 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,10 @@
 | 
			
		|||
    "pid": "0x0006",
 | 
			
		||||
    "device_version": "0.0.1"
 | 
			
		||||
  },
 | 
			
		||||
  "indicators": {
 | 
			
		||||
    "caps_lock": "F6",
 | 
			
		||||
    "on_state": 0
 | 
			
		||||
  },
 | 
			
		||||
  "processor": "atmega32u4",
 | 
			
		||||
  "bootloader": "atmel-dfu",
 | 
			
		||||
  "layout_aliases": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue