Move matrix config to info.json, part 2 (#19987)
This commit is contained in:
@@ -16,12 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#define MATRIX_ROW_PINS { F4, F5, F6, F7, B1 }
|
||||
#define MATRIX_COL_PINS { D4, C6, D7, E6 }
|
||||
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
#define SSD1306OLED
|
||||
#define RGB_DI_PIN D3
|
||||
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x6C70",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D4", "C6", "D7", "E6"],
|
||||
"rows": ["F4", "F5", "F6", "F7", "B1"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B4", "pin_b": "B2"},
|
||||
|
Reference in New Issue
Block a user