summaryrefslogtreecommitdiff
path: root/keyboards/mode
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-16 20:18:33 +1100
committerGitHub <noreply@github.com>2023-03-16 20:18:33 +1100
commit9dbee3e23d28e5f61384bbb5650505a572022341 (patch)
treebfa5fae549305e780fb81ce7275ced1f808a7e36 /keyboards/mode
parent72da3ee63e110392bebaa64dd7d862fb99097505 (diff)
Remove useless "ifdef KEYBOARD_*" (#20078)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/mode')
-rw-r--r--keyboards/mode/m80v1/m80h/m80h.c14
-rw-r--r--keyboards/mode/m80v1/m80h/m80h.h2
-rw-r--r--keyboards/mode/m80v1/m80s/m80s.c14
-rw-r--r--keyboards/mode/m80v1/m80s/m80s.h2
-rw-r--r--keyboards/mode/m80v1/m80v1.c14
-rw-r--r--keyboards/mode/m80v1/m80v1.h9
-rw-r--r--keyboards/mode/m80v2/m80v2.c18
-rw-r--r--keyboards/mode/m80v2/m80v2.h26
-rw-r--r--keyboards/mode/m80v2/m80v2h/m80v2h.c18
-rw-r--r--keyboards/mode/m80v2/m80v2h/m80v2h.h2
-rw-r--r--keyboards/mode/m80v2/m80v2s/m80v2s.c18
-rw-r--r--keyboards/mode/m80v2/m80v2s/m80v2s.h2
12 files changed, 4 insertions, 135 deletions
diff --git a/keyboards/mode/m80v1/m80h/m80h.c b/keyboards/mode/m80v1/m80h/m80h.c
deleted file mode 100644
index 6213a91363..0000000000
--- a/keyboards/mode/m80v1/m80h/m80h.c
+++ /dev/null
@@ -1,14 +0,0 @@
- /* Copyright 2020 Álvaro "Gondolindrim" Volpato <gondolindrim@acheronproject.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 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.
- */
-
-#include "m80h.h"
diff --git a/keyboards/mode/m80v1/m80h/m80h.h b/keyboards/mode/m80v1/m80h/m80h.h
index 49f115fdc6..87867de6b4 100644
--- a/keyboards/mode/m80v1/m80h/m80h.h
+++ b/keyboards/mode/m80v1/m80h/m80h.h
@@ -13,7 +13,7 @@
#pragma once
-#include "m80v1.h"
+#include "quantum.h"
#define LAYOUT_tkl_ansi( \
K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K415, K114, K115, K116, \
diff --git a/keyboards/mode/m80v1/m80s/m80s.c b/keyboards/mode/m80v1/m80s/m80s.c
deleted file mode 100644
index 1f532d0ce4..0000000000
--- a/keyboards/mode/m80v1/m80s/m80s.c
+++ /dev/null
@@ -1,14 +0,0 @@
- /* Copyright 2020 Álvaro "Gondolindrim" Volpato <gondolindrim@acheronproject.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 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.
- */
-
-#include "m80s.h"
diff --git a/keyboards/mode/m80v1/m80s/m80s.h b/keyboards/mode/m80v1/m80s/m80s.h
index b5d1e4dd06..e1a5f990ba 100644
--- a/keyboards/mode/m80v1/m80s/m80s.h
+++ b/keyboards/mode/m80v1/m80s/m80s.h
@@ -13,7 +13,7 @@
#pragma once
-#include "m80v1.h"
+#include "quantum.h"
#define LAYOUT_eighty_m80s( \
K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K415, K114, K115, K116, \
diff --git a/keyboards/mode/m80v1/m80v1.c b/keyboards/mode/m80v1/m80v1.c
deleted file mode 100644
index 225ed9cc8d..0000000000
--- a/keyboards/mode/m80v1/m80v1.c
+++ /dev/null
@@ -1,14 +0,0 @@
- /* Copyright 2020 Álvaro "Gondolindrim" Volpato <gondolindrim@acheronproject.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 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.
- */
-
-#include "m80v1.h"
diff --git a/keyboards/mode/m80v1/m80v1.h b/keyboards/mode/m80v1/m80v1.h
deleted file mode 100644
index 704ea28439..0000000000
--- a/keyboards/mode/m80v1/m80v1.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#pragma once
-
-#include "quantum.h"
-
-#if defined(KEYBOARD_mode_m80v1_m80h)
- #include "m80h.h"
-#elif defined(KEYBOARD_mode_m80v1_m80s)
- #include "m80s.h"
-#endif // Mode80 solderable "S" and hotswap "H" revisions
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/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/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