diff options
Diffstat (limited to 'keyboards/gowla')
-rw-r--r-- | keyboards/gowla/config.h | 24 | ||||
-rw-r--r-- | keyboards/gowla/gowla.c | 1 | ||||
-rw-r--r-- | keyboards/gowla/gowla.h | 13 | ||||
-rw-r--r-- | keyboards/gowla/info.json | 23 |
4 files changed, 14 insertions, 47 deletions
diff --git a/keyboards/gowla/config.h b/keyboards/gowla/config.h deleted file mode 100644 index 843389ea2e..0000000000 --- a/keyboards/gowla/config.h +++ /dev/null @@ -1,24 +0,0 @@ -/* -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 - - -/* Pin-out */ -#define MATRIX_ROW_PINS { D1, D0, D4 } -#define MATRIX_COL_PINS { B5, B4, E6 } - -/* ROW2COL */ -#define DIODE_DIRECTION ROW2COL diff --git a/keyboards/gowla/gowla.c b/keyboards/gowla/gowla.c deleted file mode 100644 index 13781bce3c..0000000000 --- a/keyboards/gowla/gowla.c +++ /dev/null @@ -1 +0,0 @@ -#include "gowla.h" diff --git a/keyboards/gowla/gowla.h b/keyboards/gowla/gowla.h deleted file mode 100644 index fa98c1f403..0000000000 --- a/keyboards/gowla/gowla.h +++ /dev/null @@ -1,13 +0,0 @@ -#pragma once - -#include "quantum.h" - -#define LAYOUT_ortho_3x3( \ - k00, k01, k02, \ - k10, k11, k12, \ - k20, k21, k22 \ -) { \ - { k00, k01, k02 }, \ - { k10, k11, k12 }, \ - { k20, k21, k22 } \ -} diff --git a/keyboards/gowla/info.json b/keyboards/gowla/info.json index 8393d1c82d..680ee27e59 100644 --- a/keyboards/gowla/info.json +++ b/keyboards/gowla/info.json @@ -8,22 +8,27 @@ "pid": "0xE9B6", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B5", "B4", "E6"], + "rows": ["D1", "D0", "D4"] + }, + "diode_direction": "ROW2COL", "processor": "atmega32u4", "bootloader": "caterina", "layouts": { "LAYOUT_ortho_3x3": { "layout": [ - {"x": 0, "y": 0}, - {"x": 1, "y": 0}, - {"x": 2, "y": 0}, + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, - {"x": 0, "y": 1}, - {"x": 1, "y": 1}, - {"x": 2, "y": 1}, + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, - {"x": 0, "y": 2}, - {"x": 1, "y": 2}, - {"x": 2, "y": 2} + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2, "y": 2} ] } } |