summaryrefslogtreecommitdiff
path: root/keyboards/v4n4g0rth0n
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/v4n4g0rth0n')
-rw-r--r--keyboards/v4n4g0rth0n/config.h22
-rw-r--r--keyboards/v4n4g0rth0n/info.json101
-rw-r--r--keyboards/v4n4g0rth0n/v1/config.h21
-rw-r--r--keyboards/v4n4g0rth0n/v1/info.json5
-rw-r--r--keyboards/v4n4g0rth0n/v2/config.h21
-rw-r--r--keyboards/v4n4g0rth0n/v2/info.json5
-rw-r--r--keyboards/v4n4g0rth0n/v4n4g0rth0n.c17
-rw-r--r--keyboards/v4n4g0rth0n/v4n4g0rth0n.h43
8 files changed, 61 insertions, 174 deletions
diff --git a/keyboards/v4n4g0rth0n/config.h b/keyboards/v4n4g0rth0n/config.h
deleted file mode 100644
index 39af6344ef..0000000000
--- a/keyboards/v4n4g0rth0n/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
-Copyright 2021 jpuerto
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-
-/* COL2ROW, ROW2COL */
-#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/v4n4g0rth0n/info.json b/keyboards/v4n4g0rth0n/info.json
index f538b8773d..4d0371e01f 100644
--- a/keyboards/v4n4g0rth0n/info.json
+++ b/keyboards/v4n4g0rth0n/info.json
@@ -15,60 +15,61 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"label":"1", "x":0.5, "y":0},
- {"label":"2", "x":1.5, "y":0},
- {"label":"3", "x":2.5, "y":0},
- {"label":"4", "x":3.5, "y":0},
- {"label":"5", "x":4.5, "y":0},
- {"label":"6", "x":5.5, "y":0},
- {"label":"Tab", "x":0, "y":1},
+ {"label": "1", "matrix": [0, 0], "x": 0.5, "y": 0},
+ {"label": "2", "matrix": [0, 1], "x": 1.5, "y": 0},
+ {"label": "3", "matrix": [0, 2], "x": 2.5, "y": 0},
+ {"label": "4", "matrix": [0, 3], "x": 3.5, "y": 0},
+ {"label": "5", "matrix": [0, 4], "x": 4.5, "y": 0},
+ {"label": "6", "matrix": [0, 5], "x": 5.5, "y": 0},
- {"label":"Q", "x":1, "y":1},
- {"label":"W", "x":2, "y":1},
- {"label":"E", "x":3, "y":1},
- {"label":"R", "x":4, "y":1},
- {"label":"T", "x":5, "y":1},
- {"label":"Y", "x":6.75, "y":1},
- {"label":"U", "x":7.75, "y":1},
- {"label":"I", "x":8.75, "y":1},
- {"label":"O", "x":9.75, "y":1},
- {"label":"P", "x":10.75, "y":1},
- {"label":"Back Space", "x":11.75, "y":1},
+ {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 1},
+ {"label": "Q", "matrix": [1, 1], "x": 1, "y": 1},
+ {"label": "W", "matrix": [1, 2], "x": 2, "y": 1},
+ {"label": "E", "matrix": [1, 3], "x": 3, "y": 1},
+ {"label": "R", "matrix": [1, 4], "x": 4, "y": 1},
+ {"label": "T", "matrix": [1, 5], "x": 5, "y": 1},
+ {"label": "Y", "matrix": [1, 6], "x": 6.75, "y": 1},
+ {"label": "U", "matrix": [1, 7], "x": 7.75, "y": 1},
+ {"label": "I", "matrix": [1, 8], "x": 8.75, "y": 1},
+ {"label": "O", "matrix": [1, 9], "x": 9.75, "y": 1},
+ {"label": "P", "matrix": [1, 10], "x": 10.75, "y": 1},
+ {"label": "Back Space", "matrix": [1, 11], "x": 11.75, "y": 1},
- {"label":"Esc", "x":0, "y":2},
- {"label":"A", "x":1, "y":2},
- {"label":"S", "x":2, "y":2},
- {"label":"D", "x":3, "y":2},
- {"label":"F", "x":4, "y":2},
- {"label":"G", "x":5, "y":2},
- {"label":"H", "x":6.75, "y":2},
- {"label":"J", "x":7.75, "y":2},
- {"label":"K", "x":8.75, "y":2},
- {"label":"L", "x":9.75, "y":2},
- {"label":";", "x":10.75, "y":2},
- {"label":"'", "x":11.75, "y":2},
+ {"label": "Esc", "matrix": [2, 0], "x": 0, "y": 2},
+ {"label": "A", "matrix": [2, 1], "x": 1, "y": 2},
+ {"label": "S", "matrix": [2, 2], "x": 2, "y": 2},
+ {"label": "D", "matrix": [2, 3], "x": 3, "y": 2},
+ {"label": "F", "matrix": [2, 4], "x": 4, "y": 2},
+ {"label": "G", "matrix": [2, 5], "x": 5, "y": 2},
+ {"label": "H", "matrix": [2, 6], "x": 6.75, "y": 2},
+ {"label": "J", "matrix": [2, 7], "x": 7.75, "y": 2},
+ {"label": "K", "matrix": [2, 8], "x": 8.75, "y": 2},
+ {"label": "L", "matrix": [2, 9], "x": 9.75, "y": 2},
+ {"label": ";", "matrix": [2, 10], "x": 10.75, "y": 2},
+ {"label": "'", "matrix": [2, 11], "x": 11.75, "y": 2},
- {"label":"Shift", "x":0, "y":3},
- {"label":"Z", "x":1, "y":3},
- {"label":"X", "x":2, "y":3},
- {"label":"C", "x":3, "y":3},
- {"label":"V", "x":4, "y":3},
- {"label":"B", "x":5, "y":3},
- {"label":"N", "x":6.75, "y":3},
- {"label":"M", "x":7.75, "y":3},
- {"label":",", "x":8.75, "y":3},
- {"label":".", "x":9.75, "y":3},
- {"label":"&uarr;", "x":10.75, "y":3},
- {"label":"Return", "x":11.75, "y":3},
+ {"label": "Shift", "matrix": [3, 0], "x": 0, "y": 3},
+ {"label": "Z", "matrix": [3, 1], "x": 1, "y": 3},
+ {"label": "X", "matrix": [3, 2], "x": 2, "y": 3},
+ {"label": "C", "matrix": [3, 3], "x": 3, "y": 3},
+ {"label": "V", "matrix": [3, 4], "x": 4, "y": 3},
+ {"label": "B", "matrix": [3, 5], "x": 5, "y": 3},
+ {"label": "N", "matrix": [3, 6], "x": 6.75, "y": 3},
+ {"label": "M", "matrix": [3, 7], "x": 7.75, "y": 3},
+ {"label": ",", "matrix": [3, 8], "x": 8.75, "y": 3},
+ {"label": ".", "matrix": [3, 9], "x": 9.75, "y": 3},
+ {"label": "&uarr;", "matrix": [3, 10], "x": 10.75, "y": 3},
+ {"label": "Return", "matrix": [3, 11], "x": 11.75, "y": 3},
- {"label":"Gui", "x":0, "y":4},
- {"label":"Ctrl", "x":1, "y":4},
- {"label":"Alt", "x":2, "y":4},
- {"label":"Space", "x":3, "y":4, "w":3},
- {"label":"Enter", "x":6.75, "y":4, "w":3},
- {"label":"&larr;", "x":9.75, "y":4},
- {"label":"&darr;", "x":10.75, "y":4},
- {"label":"&rarr;", "x":11.75, "y":4}]
+ {"label": "Gui", "matrix": [4, 0], "x": 0, "y": 4},
+ {"label": "Ctrl", "matrix": [4, 1], "x": 1, "y": 4},
+ {"label": "Alt", "matrix": [4, 2], "x": 2, "y": 4},
+ {"label": "Space", "matrix": [4, 4], "x": 3, "y": 4, "w": 3},
+ {"label": "Enter", "matrix": [4, 7], "x": 6.75, "y": 4, "w": 3},
+ {"label": "&larr;", "matrix": [4, 9], "x": 9.75, "y": 4},
+ {"label": "&darr;", "matrix": [4, 10], "x": 10.75, "y": 4},
+ {"label": "&rarr;", "matrix": [4, 11], "x": 11.75, "y": 4}
+ ]
}
}
}
diff --git a/keyboards/v4n4g0rth0n/v1/config.h b/keyboards/v4n4g0rth0n/v1/config.h
deleted file mode 100644
index effd2268db..0000000000
--- a/keyboards/v4n4g0rth0n/v1/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
-Copyright 2021 jpuerto
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-#define MATRIX_ROW_PINS { C7, C6, B6, B5, B7}
-#define MATRIX_COL_PINS { D3, D2, D1, D0, D5, F7, F6, E6, F5, F4, F1, F0}
diff --git a/keyboards/v4n4g0rth0n/v1/info.json b/keyboards/v4n4g0rth0n/v1/info.json
index dab37baf04..769c35d8ca 100644
--- a/keyboards/v4n4g0rth0n/v1/info.json
+++ b/keyboards/v4n4g0rth0n/v1/info.json
@@ -2,6 +2,11 @@
"usb": {
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["D3", "D2", "D1", "D0", "D5", "F7", "F6", "E6", "F5", "F4", "F1", "F0"],
+ "rows": ["C7", "C6", "B6", "B5", "B7"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}
diff --git a/keyboards/v4n4g0rth0n/v2/config.h b/keyboards/v4n4g0rth0n/v2/config.h
deleted file mode 100644
index 2299b791ef..0000000000
--- a/keyboards/v4n4g0rth0n/v2/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
-Copyright 2021 jpuerto
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-#define MATRIX_ROW_PINS { C7, C6, B6, B5, B7}
-#define MATRIX_COL_PINS { D3, D2, D1, D0, D5, F7, F6, E6, F5, F4, F1, B0}
diff --git a/keyboards/v4n4g0rth0n/v2/info.json b/keyboards/v4n4g0rth0n/v2/info.json
index 65be217368..6959188be9 100644
--- a/keyboards/v4n4g0rth0n/v2/info.json
+++ b/keyboards/v4n4g0rth0n/v2/info.json
@@ -2,6 +2,11 @@
"usb": {
"device_version": "0.0.2"
},
+ "matrix_pins": {
+ "cols": ["D3", "D2", "D1", "D0", "D5", "F7", "F6", "E6", "F5", "F4", "F1", "B0"],
+ "rows": ["C7", "C6", "B6", "B5", "B7"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}
diff --git a/keyboards/v4n4g0rth0n/v4n4g0rth0n.c b/keyboards/v4n4g0rth0n/v4n4g0rth0n.c
deleted file mode 100644
index 983bd78787..0000000000
--- a/keyboards/v4n4g0rth0n/v4n4g0rth0n.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2021 jpuerto
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "v4n4g0rth0n.h"
diff --git a/keyboards/v4n4g0rth0n/v4n4g0rth0n.h b/keyboards/v4n4g0rth0n/v4n4g0rth0n.h
deleted file mode 100644
index 7c8edfeb12..0000000000
--- a/keyboards/v4n4g0rth0n/v4n4g0rth0n.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/* Copyright 2021 jpuerto
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#include "quantum.h"
-
-#define XXX KC_NO
-
-/* This is a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-#define LAYOUT( \
- k00, k01, k02, k03, k04, k05, \
- k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \
- k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \
- k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, \
- k40, k41, k42, k44, k47, k49, k4A, k4B \
-) { \
- { k00, k01, k02, k03, k04, k05, XXX, XXX, XXX, XXX, XXX, XXX }, \
- { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B }, \
- { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \
- { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B }, \
- { k40, k41, k42, XXX, k44, XXX, XXX, k47, XXX, k49, k4A, k4B } \
-}