Move miscellaneous defines to data driven (#21382)
This commit is contained in:
parent
9ab16e62f7
commit
023035f462
69 changed files with 103 additions and 236 deletions
|
@ -69,12 +69,6 @@
|
|||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
|
||||
/* Optional encoder pins */
|
||||
#define ENCODERS_PAD_A { B3 }
|
||||
#define ENCODERS_PAD_B { B1 }
|
||||
#define ENCODERS_PAD_A_RIGHT { B4 }
|
||||
#define ENCODERS_PAD_B_RIGHT { B5 }
|
||||
|
||||
/* Optional speaker pin */
|
||||
#define AUDIO_PIN B6
|
||||
|
||||
|
|
|
@ -7,12 +7,26 @@
|
|||
"pid": "0x6063",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B3", "pin_b": "B1"}
|
||||
]
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 10,
|
||||
"sleep": true,
|
||||
"led_map": [8, 9, 0, 1, 2, 6, 7, 3, 4, 5],
|
||||
"split_count": [5, 5]
|
||||
},
|
||||
"split": {
|
||||
"encoder": {
|
||||
"right": {
|
||||
"rotary": [
|
||||
{"pin_a": "B4", "pin_b": "B5"}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B2"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue