diff options
| author | Ryan <fauxpark@gmail.com> | 2023-03-11 00:39:56 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-11 00:39:56 +1100 |
| commit | caa8c81086a806ea048c91ba142d424dc6a49f50 (patch) | |
| tree | 824de64449d9cfaeba176288d379a282c733ae1a /keyboards/maple_computing/christmas_tree | |
| parent | ace372d90de13dafc815df5d8049497cb351b69b (diff) | |
Move matrix config to info.json, part 7 (#20020)
Diffstat (limited to 'keyboards/maple_computing/christmas_tree')
| -rw-r--r-- | keyboards/maple_computing/christmas_tree/config.h | 8 | ||||
| -rw-r--r-- | keyboards/maple_computing/christmas_tree/info.json | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/maple_computing/christmas_tree/config.h b/keyboards/maple_computing/christmas_tree/config.h index 40c2ce1f48..5070f05156 100644 --- a/keyboards/maple_computing/christmas_tree/config.h +++ b/keyboards/maple_computing/christmas_tree/config.h | |||
| @@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | |||
| 21 | /* Planck PCB default pin-out */ | ||
| 22 | #define MATRIX_ROW_PINS { D3, F4, D0, F6, F5, D4 } | ||
| 23 | #define MATRIX_COL_PINS { D1 } | ||
| 24 | |||
| 25 | /* COL2ROW or ROW2COL */ | ||
| 26 | #define DIODE_DIRECTION COL2ROW | ||
| 27 | |||
| 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 20 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 29 | #define LOCKING_SUPPORT_ENABLE | 21 | #define LOCKING_SUPPORT_ENABLE |
| 30 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
diff --git a/keyboards/maple_computing/christmas_tree/info.json b/keyboards/maple_computing/christmas_tree/info.json index d60dabe1df..3ef81f9fd3 100644 --- a/keyboards/maple_computing/christmas_tree/info.json +++ b/keyboards/maple_computing/christmas_tree/info.json | |||
| @@ -7,6 +7,11 @@ | |||
| 7 | "vid": "0xFEED", | 7 | "vid": "0xFEED", |
| 8 | "pid": "0x3070" | 8 | "pid": "0x3070" |
| 9 | }, | 9 | }, |
| 10 | "matrix_pins": { | ||
| 11 | "cols": ["D1"], | ||
| 12 | "rows": ["D3", "F4", "D0", "F6", "F5", "D4"] | ||
| 13 | }, | ||
| 14 | "diode_direction": "COL2ROW", | ||
| 10 | "backlight": { | 15 | "backlight": { |
| 11 | "pin": "D2" | 16 | "pin": "D2" |
| 12 | }, | 17 | }, |
