1
0
Fork 0

Move miscellaneous defines to data driven (#21382)

This commit is contained in:
Ryan 2023-07-03 07:40:13 +10:00 committed by GitHub
parent 9ab16e62f7
commit 023035f462
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
69 changed files with 103 additions and 236 deletions

View file

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

View file

@ -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"
},