diff options
Diffstat (limited to 'keyboards/jkdlab/binary_monkey')
-rw-r--r-- | keyboards/jkdlab/binary_monkey/binary_monkey.c | 19 | ||||
-rw-r--r-- | keyboards/jkdlab/binary_monkey/binary_monkey.h | 28 | ||||
-rw-r--r-- | keyboards/jkdlab/binary_monkey/config.h | 6 | ||||
-rw-r--r-- | keyboards/jkdlab/binary_monkey/info.json | 12 |
4 files changed, 9 insertions, 56 deletions
diff --git a/keyboards/jkdlab/binary_monkey/binary_monkey.c b/keyboards/jkdlab/binary_monkey/binary_monkey.c deleted file mode 100644 index bdbcac18ee..0000000000 --- a/keyboards/jkdlab/binary_monkey/binary_monkey.c +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright 2021 JKDLAB. <jkdlab.co@gmail.com> - * Copyright 2021 Jaehee <ljh34210329@gmail.com> - * - * 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 3 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 https://www.gnu.org/licenses/. - */ - -#include "binary_monkey.h" diff --git a/keyboards/jkdlab/binary_monkey/binary_monkey.h b/keyboards/jkdlab/binary_monkey/binary_monkey.h deleted file mode 100644 index 598886b781..0000000000 --- a/keyboards/jkdlab/binary_monkey/binary_monkey.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright 2021 JKDLAB. <jkdlab.co@gmail.com> - * Copyright 2021 Jaehee <ljh34210329@gmail.com> - * - * 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 3 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 https://www.gnu.org/licenses/. - */ - -#pragma once - -#include "quantum.h" - -#define LAYOUT( \ - K00, K01, \ - K10 \ -) { \ - { K10, K00, K01 } \ -} 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 @@ #pragma once - -#define MATRIX_ROW_PINS { D0 } -#define MATRIX_COL_PINS { D1, D2, D3 } - -#define DIODE_DIRECTION COL2ROW - #define USB_MAX_POWER_CONSUMPTION 100 diff --git a/keyboards/jkdlab/binary_monkey/info.json b/keyboards/jkdlab/binary_monkey/info.json index c5422097ab..43ba146854 100644 --- a/keyboards/jkdlab/binary_monkey/info.json +++ b/keyboards/jkdlab/binary_monkey/info.json @@ -8,6 +8,11 @@ "pid": "0x0101", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["D1", "D2", "D3"], + "rows": ["D0"] + }, + "diode_direction": "COL2ROW", "bootmagic": { "matrix": [0, 2] }, @@ -16,9 +21,10 @@ "layouts": { "LAYOUT": { "layout": [ - {"label": "0", "x": 0, "y": 0}, - {"label": "1", "x": 1, "y": 0}, - {"label": "ENTER", "x": 0, "y": 1, "w" : 2} + {"matrix": [0, 1], "x": 0, "y": 0}, + {"matrix": [0, 2], "x": 1, "y": 0}, + + {"matrix": [0, 0], "x": 0, "y": 1, "w": 2} ] } } |