diff options
| author | Ryan <fauxpark@gmail.com> | 2023-03-06 09:53:52 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-05 22:53:52 +0000 |
| commit | 23c365b023e409885e6f201f12df56e5145dde47 (patch) | |
| tree | 062e72be726939d5f6ddda944facb423bbf386cf /keyboards/jkdlab/binary_monkey | |
| parent | b34d51d08d7083fc790db2562a4d39890f34886f (diff) | |
Move matrix config to info.json, part 1 (#19985)
Diffstat (limited to 'keyboards/jkdlab/binary_monkey')
| -rw-r--r-- | keyboards/jkdlab/binary_monkey/config.h | 6 | ||||
| -rw-r--r-- | keyboards/jkdlab/binary_monkey/info.json | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/jkdlab/binary_monkey/config.h b/keyboards/jkdlab/binary_monkey/config.h index 4967594b55..3b83277d42 100644 --- a/keyboards/jkdlab/binary_monkey/config.h +++ b/keyboards/jkdlab/binary_monkey/config.h | |||
| @@ -18,10 +18,4 @@ | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | |||
| 22 | #define MATRIX_ROW_PINS { D0 } | ||
| 23 | #define MATRIX_COL_PINS { D1, D2, D3 } | ||
| 24 | |||
| 25 | #define DIODE_DIRECTION COL2ROW | ||
| 26 | |||
| 27 | #define USB_MAX_POWER_CONSUMPTION 100 | 21 | #define USB_MAX_POWER_CONSUMPTION 100 |
diff --git a/keyboards/jkdlab/binary_monkey/info.json b/keyboards/jkdlab/binary_monkey/info.json index c5422097ab..b7fcc584f3 100644 --- a/keyboards/jkdlab/binary_monkey/info.json +++ b/keyboards/jkdlab/binary_monkey/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0101", | 8 | "pid": "0x0101", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "matrix_pins": { | ||
| 12 | "cols": ["D1", "D2", "D3"], | ||
| 13 | "rows": ["D0"] | ||
| 14 | }, | ||
| 15 | "diode_direction": "COL2ROW", | ||
| 11 | "bootmagic": { | 16 | "bootmagic": { |
| 12 | "matrix": [0, 2] | 17 | "matrix": [0, 2] |
| 13 | }, | 18 | }, |
