summaryrefslogtreecommitdiff
path: root/keyboards/planck/planck.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-09-18 20:10:32 -0700
committerGitHub <noreply@github.com>2021-09-18 20:10:32 -0700
commitef5c6ea096033423c9b9e141c1fc94dcc41d84fa (patch)
tree7e0fd17b20c3206e5d0c7320fc0cf4ce7322ffe0 /keyboards/planck/planck.h
parentf61f79b7cd1cb8edad8d55577c834a9470405b4c (diff)
[Keyboard] Use old custom matrix for Drop Planck+Preonic (#14488)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Jack Humbert <jack.humb@gmail.com>
Diffstat (limited to 'keyboards/planck/planck.h')
-rw-r--r--keyboards/planck/planck.h43
1 files changed, 29 insertions, 14 deletions
diff --git a/keyboards/planck/planck.h b/keyboards/planck/planck.h
index 31e3ec9158..4b04dfec51 100644
--- a/keyboards/planck/planck.h
+++ b/keyboards/planck/planck.h
@@ -1,26 +1,41 @@
-#ifndef PLANCK_H
-#define PLANCK_H
+/* Copyright 2018 Jack Humbert <jack.humb@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 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_planck_ez)
- #include "ez.h"
+# include "ez.h"
#elif defined(KEYBOARD_planck_light)
- #include "light.h"
+# include "light.h"
#elif defined(KEYBOARD_planck_thk)
- #include "thk.h"
+# include "thk.h"
#elif defined(KEYBOARD_planck_rev1)
- #include "rev1.h"
+# include "rev1.h"
#elif defined(KEYBOARD_planck_rev2)
- #include "rev2.h"
+# include "rev2.h"
#elif defined(KEYBOARD_planck_rev3)
- #include "rev3.h"
+# include "rev3.h"
#elif defined(KEYBOARD_planck_rev4)
- #include "rev4.h"
+# include "rev4.h"
#elif defined(KEYBOARD_planck_rev5)
- #include "rev5.h"
+# include "rev5.h"
#elif defined(KEYBOARD_planck_rev6)
- #include "rev6.h"
-#endif // Planck revisions
-
-#endif
+# include "rev6.h"
+#elif defined(KEYBOARD_planck_rev6_drop)
+# include "rev6_drop.h"
+#endif // Planck revisions