Migrate SPLIT_HAND_PIN to json (#23924)

This commit is contained in:
Joel Challis 2024-07-13 13:29:16 +01:00 committed by GitHub
parent 26e84c513c
commit f0807ea64f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
159 changed files with 243 additions and 800 deletions

View file

@ -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

View file

@ -3,6 +3,11 @@
"cols": ["B1"],
"rows": ["B10"]
},
"split": {
"handedness": {
"pin": "A7"
}
},
"diode_direction": "COL2ROW",
"development_board": "bluepill",
"features": {

View file

@ -16,8 +16,5 @@
#pragma once
// use I2C on AVR
#define USE_I2C
#define SPLIT_HAND_PIN F6

View file

@ -5,6 +5,9 @@
},
"diode_direction": "COL2ROW",
"split": {
"handedness": {
"pin": "F6"
},
"soft_serial_pin": "D1"
},
"ws2812": {

View file

@ -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

View file

@ -5,6 +5,9 @@
},
"diode_direction": "COL2ROW",
"split": {
"handedness": {
"pin": "F0"
},
"soft_serial_pin": "D1"
},
"ws2812": {