Migrate SPLIT_HAND_PIN to json (#23924)
This commit is contained in:
		
							parent
							
								
									26e84c513c
								
							
						
					
					
						commit
						f0807ea64f
					
				
					 159 changed files with 243 additions and 800 deletions
				
			
		| 
						 | 
				
			
			@ -3,8 +3,6 @@
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#define SPLIT_HAND_PIN A7
 | 
			
		||||
 | 
			
		||||
#if !(defined(USE_SDI1_ON_STANDARD_ROLE_PINS) || defined(USE_SDI1_ON_ALTERNATE_ROLE_PINS) || defined(USE_SDI2))
 | 
			
		||||
    #define USE_SDI1_ON_STANDARD_ROLE_PINS
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,6 +3,11 @@
 | 
			
		|||
        "cols": ["B1"],
 | 
			
		||||
        "rows": ["B10"]
 | 
			
		||||
    },
 | 
			
		||||
    "split": {
 | 
			
		||||
        "handedness": {
 | 
			
		||||
            "pin": "A7"
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "diode_direction": "COL2ROW",
 | 
			
		||||
    "development_board": "bluepill",
 | 
			
		||||
    "features": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,8 +16,5 @@
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
// use I2C on AVR
 | 
			
		||||
#define USE_I2C
 | 
			
		||||
 | 
			
		||||
#define SPLIT_HAND_PIN F6
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,9 @@
 | 
			
		|||
    },
 | 
			
		||||
    "diode_direction": "COL2ROW",
 | 
			
		||||
    "split": {
 | 
			
		||||
        "handedness": {
 | 
			
		||||
            "pin": "F6"
 | 
			
		||||
        },
 | 
			
		||||
        "soft_serial_pin": "D1"
 | 
			
		||||
    },
 | 
			
		||||
    "ws2812": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,11 +16,8 @@
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
// use I2C on AVR
 | 
			
		||||
#define USE_I2C
 | 
			
		||||
 | 
			
		||||
#define SPLIT_HAND_PIN F0
 | 
			
		||||
 | 
			
		||||
// teensy has vbus detection issues - use usb detection instead
 | 
			
		||||
#define SPLIT_USB_DETECT
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,9 @@
 | 
			
		|||
    },
 | 
			
		||||
    "diode_direction": "COL2ROW",
 | 
			
		||||
    "split": {
 | 
			
		||||
        "handedness": {
 | 
			
		||||
            "pin": "F0"
 | 
			
		||||
        },
 | 
			
		||||
        "soft_serial_pin": "D1"
 | 
			
		||||
    },
 | 
			
		||||
    "ws2812": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue