Move matrix config to info.json, part 8 (#20030)
This commit is contained in:
parent
4b1f0e8daa
commit
1022afa6c2
536 changed files with 1507 additions and 3196 deletions
|
@ -17,16 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
// wiring of each half
|
||||
#define MATRIX_ROW_PINS { B1, F0, F5, F6, F7 }
|
||||
#define MATRIX_COL_PINS { F1, F4, D3, D2, B7, D4 }
|
||||
#define MATRIX_ROW_PINS_RIGHT { B1, B2, D2, F1, F4 }
|
||||
#define MATRIX_COL_PINS_RIGHT { D4, D7, D3, B7, F0, B3 }
|
||||
#define SPLIT_HAND_PIN D5
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define BACKLIGHT_DEFAULT_LEVEL 3
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
|
|
|
@ -4,6 +4,11 @@
|
|||
"pid": "0x5256",
|
||||
"device_version": "5.0.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F1", "F4", "D3", "D2", "B7", "D4"],
|
||||
"rows": ["B1", "F0", "F5", "F6", "F7"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B2", "pin_b": "B3"}
|
||||
|
@ -27,6 +32,12 @@
|
|||
{"pin_a": "F7", "pin_b": "F6"}
|
||||
]
|
||||
}
|
||||
},
|
||||
"matrix_pins": {
|
||||
"right": {
|
||||
"cols": ["D4", "D7", "D3", "B7", "F0", "B3"],
|
||||
"rows": ["B1", "B2", "D2", "F1", "F4"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue