Move encoder config to data driven (#19923)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan
2023-02-26 09:45:12 +11:00
committed by GitHub
parent 314f6c1ddb
commit 7e0299117b
972 changed files with 2898 additions and 2569 deletions

View File

@@ -25,6 +25,13 @@
"pid": "0x0000",
"vid": "0xFEED"
},
"encoder": {
"rotary": [
{"pin_a": "C7", "pin_b": "C6"},
{"pin_a": "F7", "pin_b": "E6"},
{"pin_a": "D6", "pin_b": "D7", "resolution": 2}
]
},
"rgb_matrix": {
"driver": "WS2812",
"layout": [