diff options
Diffstat (limited to 'keyboards/mode/m80v2')
-rw-r--r-- | keyboards/mode/m80v2/config.h | 5 | ||||
-rw-r--r-- | keyboards/mode/m80v2/m80v2.c | 18 | ||||
-rw-r--r-- | keyboards/mode/m80v2/m80v2.h | 26 | ||||
-rw-r--r-- | keyboards/mode/m80v2/m80v2h/info.json | 5 | ||||
-rw-r--r-- | keyboards/mode/m80v2/m80v2h/m80v2h.c | 18 | ||||
-rw-r--r-- | keyboards/mode/m80v2/m80v2h/m80v2h.h | 2 | ||||
-rw-r--r-- | keyboards/mode/m80v2/m80v2s/info.json | 5 | ||||
-rw-r--r-- | keyboards/mode/m80v2/m80v2s/m80v2s.c | 18 | ||||
-rw-r--r-- | keyboards/mode/m80v2/m80v2s/m80v2s.h | 2 |
9 files changed, 12 insertions, 87 deletions
diff --git a/keyboards/mode/m80v2/config.h b/keyboards/mode/m80v2/config.h index dcfd8d1614..d553d5d894 100644 --- a/keyboards/mode/m80v2/config.h +++ b/keyboards/mode/m80v2/config.h @@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define MATRIX_ROW_PINS { B12, B13, B14, B3, B4, B9 } -#define MATRIX_COL_PINS { A1, A2, A3, A4, A5, A6, A7, B0, B1, B10, A8, A10, B15, A15, B5, B8, C13 } - -#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/mode/m80v2/m80v2.c b/keyboards/mode/m80v2/m80v2.c deleted file mode 100644 index faad98b7a7..0000000000 --- a/keyboards/mode/m80v2/m80v2.c +++ /dev/null @@ -1,18 +0,0 @@ -/* - Copyright 2020 Álvaro "Gondolindrim" Volpato <alvaro.volpato@usp.br> - -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 "m80v2.h" diff --git a/keyboards/mode/m80v2/m80v2.h b/keyboards/mode/m80v2/m80v2.h deleted file mode 100644 index c00f148e62..0000000000 --- a/keyboards/mode/m80v2/m80v2.h +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright 2020 Álvaro "Gondolindrim" Volpato <alvaro.volpato@usp.br> - -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" - -#if defined(KEYBOARD_mode_m80v2_m80v2h) - #include "m80v2h.h" -#elif defined(KEYBOARD_mode_m80v2_m80v2s) - #include "m80v2s.h" -#endif diff --git a/keyboards/mode/m80v2/m80v2h/info.json b/keyboards/mode/m80v2/m80v2h/info.json index 51788340ca..3c948f5eb4 100644 --- a/keyboards/mode/m80v2/m80v2h/info.json +++ b/keyboards/mode/m80v2/m80v2h/info.json @@ -8,6 +8,11 @@ "pid": "0x0083", "device_version": "0.0.2" }, + "matrix_pins": { + "cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B10", "A8", "A10", "B15", "A15", "B5", "B8", "C13"], + "rows": ["B12", "B13", "B14", "B3", "B4", "B9"] + }, + "diode_direction": "COL2ROW", "indicators": { "caps_lock": "A0", "on_state": 0 diff --git a/keyboards/mode/m80v2/m80v2h/m80v2h.c b/keyboards/mode/m80v2/m80v2h/m80v2h.c deleted file mode 100644 index 0d4e533c30..0000000000 --- a/keyboards/mode/m80v2/m80v2h/m80v2h.c +++ /dev/null @@ -1,18 +0,0 @@ -/* - Copyright 2020 Álvaro "Gondolindrim" Volpato <alvaro.volpato@usp.br> - -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 "m80v2h.h" diff --git a/keyboards/mode/m80v2/m80v2h/m80v2h.h b/keyboards/mode/m80v2/m80v2h/m80v2h.h index 28d1d2784c..cacf25b114 100644 --- a/keyboards/mode/m80v2/m80v2h/m80v2h.h +++ b/keyboards/mode/m80v2/m80v2h/m80v2h.h @@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#include "m80v2.h" +#include "quantum.h" #define ___ KC_NO diff --git a/keyboards/mode/m80v2/m80v2s/info.json b/keyboards/mode/m80v2/m80v2s/info.json index d7f5dd663b..5793fa00a7 100644 --- a/keyboards/mode/m80v2/m80v2s/info.json +++ b/keyboards/mode/m80v2/m80v2s/info.json @@ -8,6 +8,11 @@ "pid": "0x0082", "device_version": "0.0.2" }, + "matrix_pins": { + "cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B10", "A8", "A10", "B15", "A15", "B5", "B8", "C13"], + "rows": ["B12", "B13", "B14", "B3", "B4", "B9"] + }, + "diode_direction": "COL2ROW", "indicators": { "caps_lock": "A0", "on_state": 0 diff --git a/keyboards/mode/m80v2/m80v2s/m80v2s.c b/keyboards/mode/m80v2/m80v2s/m80v2s.c deleted file mode 100644 index 7be89b1288..0000000000 --- a/keyboards/mode/m80v2/m80v2s/m80v2s.c +++ /dev/null @@ -1,18 +0,0 @@ -/* - Copyright 2020 Álvaro "Gondolindrim" Volpato <alvaro.volpato@usp.br> - -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 "m80v2s.h" diff --git a/keyboards/mode/m80v2/m80v2s/m80v2s.h b/keyboards/mode/m80v2/m80v2s/m80v2s.h index 440b54583a..88f38d8b05 100644 --- a/keyboards/mode/m80v2/m80v2s/m80v2s.h +++ b/keyboards/mode/m80v2/m80v2s/m80v2s.h @@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#include "m80v2.h" +#include "quantum.h" #define ___ KC_NO |