diff options
Diffstat (limited to 'keyboards/maple_computing/christmas_tree')
6 files changed, 15 insertions, 28 deletions
diff --git a/keyboards/maple_computing/christmas_tree/christmas_tree.c b/keyboards/maple_computing/christmas_tree/christmas_tree.c deleted file mode 100644 index c03670a3a5..0000000000 --- a/keyboards/maple_computing/christmas_tree/christmas_tree.c +++ /dev/null @@ -1 +0,0 @@ -#include "christmas_tree.h" diff --git a/keyboards/maple_computing/christmas_tree/christmas_tree.h b/keyboards/maple_computing/christmas_tree/christmas_tree.h deleted file mode 100644 index 68eefca6a8..0000000000 --- a/keyboards/maple_computing/christmas_tree/christmas_tree.h +++ /dev/null @@ -1,14 +0,0 @@ -#pragma once - -#include "quantum.h" - -#define LAYOUT( \ - k00, k10, k20, k30, k40, k50 \ -) { \ - { k00 }, \ - { k10 }, \ - { k20 }, \ - { k30 }, \ - { k40 }, \ - { k50 } \ -} 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/>. #pragma once - -/* Planck PCB default pin-out */ -#define MATRIX_ROW_PINS { D3, F4, D0, F6, F5, D4 } -#define MATRIX_COL_PINS { D1 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/maple_computing/christmas_tree/info.json b/keyboards/maple_computing/christmas_tree/info.json index d60dabe1df..0a19667957 100644 --- a/keyboards/maple_computing/christmas_tree/info.json +++ b/keyboards/maple_computing/christmas_tree/info.json @@ -7,6 +7,11 @@ "vid": "0xFEED", "pid": "0x3070" }, + "matrix_pins": { + "cols": ["D1"], + "rows": ["D3", "F4", "D0", "F6", "F5", "D4"] + }, + "diode_direction": "COL2ROW", "backlight": { "pin": "D2" }, @@ -14,7 +19,16 @@ "bootloader": "caterina", "layouts": { "LAYOUT": { - "layout": [{"x":1, "y":0}, {"x":0.5, "y":1}, {"x":1.5, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}] + "layout": [ + {"matrix": [0, 0], "x": 1, "y": 0}, + + {"matrix": [1, 0], "x": 0.5, "y": 1}, + {"matrix": [2, 0], "x": 1.5, "y": 1}, + + {"matrix": [3, 0], "x": 0, "y": 2}, + {"matrix": [4, 0], "x": 1, "y": 2}, + {"matrix": [5, 0], "x": 2, "y": 2} + ] } } } diff --git a/keyboards/maple_computing/christmas_tree/v2017/v2017.c b/keyboards/maple_computing/christmas_tree/v2017/v2017.c deleted file mode 100644 index 22067e5367..0000000000 --- a/keyboards/maple_computing/christmas_tree/v2017/v2017.c +++ /dev/null @@ -1 +0,0 @@ -#include "v2017.h"
\ No newline at end of file diff --git a/keyboards/maple_computing/christmas_tree/v2017/v2017.h b/keyboards/maple_computing/christmas_tree/v2017/v2017.h deleted file mode 100644 index f779c0ed47..0000000000 --- a/keyboards/maple_computing/christmas_tree/v2017/v2017.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -#include "christmas_tree.h" |