diff options
Diffstat (limited to 'keyboards/fungo')
-rw-r--r-- | keyboards/fungo/fungo.c | 18 | ||||
-rw-r--r-- | keyboards/fungo/fungo.h | 23 | ||||
-rw-r--r-- | keyboards/fungo/rev1/config.h | 16 | ||||
-rw-r--r-- | keyboards/fungo/rev1/info.json | 13 | ||||
-rw-r--r-- | keyboards/fungo/rev1/rev1.c | 17 | ||||
-rw-r--r-- | keyboards/fungo/rev1/rev1.h | 1 |
6 files changed, 12 insertions, 76 deletions
diff --git a/keyboards/fungo/fungo.c b/keyboards/fungo/fungo.c deleted file mode 100644 index 1446234b36..0000000000 --- a/keyboards/fungo/fungo.c +++ /dev/null @@ -1,18 +0,0 @@ -/* Copyright 2022 bojiguard (@bojiguard) - * - * 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 "fungo.h" - diff --git a/keyboards/fungo/fungo.h b/keyboards/fungo/fungo.h deleted file mode 100644 index dd267c3463..0000000000 --- a/keyboards/fungo/fungo.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2022 bojiguard (@bojiguard) - * - * 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" - -#ifdef KEYBOARD_fungo_rev1 - #include "rev1.h" -#endif diff --git a/keyboards/fungo/rev1/config.h b/keyboards/fungo/rev1/config.h index 43db4d05ca..187a7809bc 100644 --- a/keyboards/fungo/rev1/config.h +++ b/keyboards/fungo/rev1/config.h @@ -19,22 +19,6 @@ /* select keyboard master board - I2C or Serial communication master */ #define MASTER_RIGHT - -// wiring of each half -#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2} -#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4, B5} - -#define MATRIX_COL_PINS_RIGHT {F7, F6, F5, F4, B5, B4, E6} -#define MATRIX_ROW_PINS_RIGHT { D1, D0, D4, C6, D7, D3} // TX - - - - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - - - /*************************************/ /** public parameter **/ /*************************************/ diff --git a/keyboards/fungo/rev1/info.json b/keyboards/fungo/rev1/info.json index 12696e8045..ba8b96a060 100644 --- a/keyboards/fungo/rev1/info.json +++ b/keyboards/fungo/rev1/info.json @@ -8,8 +8,19 @@ "pid": "0x1233", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2"], + "rows": ["D4", "C6", "D7", "E6", "B4", "B5"] + }, + "diode_direction": "COL2ROW", "split": { - "soft_serial_pin": "D3" + "soft_serial_pin": "D3", + "matrix_pins": { + "right": { + "cols": ["F7", "F6", "F5", "F4", "B5", "B4", "E6"], + "rows": ["D1", "D0", "D4", "C6", "D7", "D3"] + } + } }, "processor": "atmega32u4", "bootloader": "caterina", diff --git a/keyboards/fungo/rev1/rev1.c b/keyboards/fungo/rev1/rev1.c deleted file mode 100644 index 5fd3a11049..0000000000 --- a/keyboards/fungo/rev1/rev1.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2022 bojiguard (@bojiguard) - * - * 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 "fungo.h" diff --git a/keyboards/fungo/rev1/rev1.h b/keyboards/fungo/rev1/rev1.h index bb5fadcd9a..bcb5ae345f 100644 --- a/keyboards/fungo/rev1/rev1.h +++ b/keyboards/fungo/rev1/rev1.h @@ -16,7 +16,6 @@ #pragma once -#include "fungo.h" #include "quantum.h" #define LAYOUT( \ |