Move matrix config to info.json, part 4 (#20001)
This commit is contained in:
parent
dd086a51d8
commit
9e64300e67
584 changed files with 1484 additions and 3703 deletions
|
@ -1,22 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
|
||||
#undef MATRIX_ROW_PINS
|
||||
#undef MATRIX_COL_PINS
|
||||
|
||||
#define MATRIX_ROW_PINS { A3, B8, B9, B1 }
|
||||
#define MATRIX_COL_PINS { A7, A8, B2, B10 }
|
||||
|
||||
//Audio
|
||||
#undef AUDIO_VOICES
|
||||
#undef AUDIO_PIN
|
||||
|
@ -37,17 +20,6 @@
|
|||
// configure oled driver for the 128x32 oled
|
||||
#define OLED_UPDATE_INTERVAL 33 // ~30fps
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
|
|
|
@ -2,6 +2,11 @@
|
|||
"usb": {
|
||||
"device_version": "20.1.9"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["A7", "A8", "B2", "B10"],
|
||||
"rows": ["A3", "B8", "B9", "B1"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B13", "pin_b": "B14"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue