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
|
@ -16,10 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#define MATRIX_COL_PINS { B1, B0, A7, B14, A5, A4, A3, B9, B8, B7, B6, B5, B4, B3, A15 }
|
||||
#define MATRIX_ROW_PINS { A9, A10, B12, A2, C13 }
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD3
|
||||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
#define BACKLIGHT_PAL_MODE 1
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
"pid": "0x5341",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B1", "B0", "A7", "B14", "A5", "A4", "A3", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"],
|
||||
"rows": ["A9", "A10", "B12", "A2", "C13"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "A8", "pin_b": "A1", "resolution": 2}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue