aboutsummaryrefslogtreecommitdiff
path: root/keyboards/4pplet/waffling80/rev_a
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/4pplet/waffling80/rev_a')
-rw-r--r--keyboards/4pplet/waffling80/rev_a/keyboard.json2
-rw-r--r--keyboards/4pplet/waffling80/rev_a/rev_a.c14
-rw-r--r--keyboards/4pplet/waffling80/rev_a/rev_a.h26
3 files changed, 13 insertions, 29 deletions
diff --git a/keyboards/4pplet/waffling80/rev_a/keyboard.json b/keyboards/4pplet/waffling80/rev_a/keyboard.json
index 157cefa536..0623b7ddaa 100644
--- a/keyboards/4pplet/waffling80/rev_a/keyboard.json
+++ b/keyboards/4pplet/waffling80/rev_a/keyboard.json
@@ -14,8 +14,6 @@
},
"features": {
"bootmagic": true,
- "command": false,
- "console": false,
"extrakey": true,
"mousekey": true,
"nkro": true,
diff --git a/keyboards/4pplet/waffling80/rev_a/rev_a.c b/keyboards/4pplet/waffling80/rev_a/rev_a.c
index d1032e7c6c..9983830548 100644
--- a/keyboards/4pplet/waffling80/rev_a/rev_a.c
+++ b/keyboards/4pplet/waffling80/rev_a/rev_a.c
@@ -14,7 +14,19 @@ 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 "rev_a.h"
+#include "quantum.h"
+
+#ifndef CAPS_LOCK_ENABLE
+# define CAPS_LOCK_ENABLE 1
+#endif
+
+#ifndef SCROLL_LOCK_ENABLE
+# define SCROLL_LOCK_ENABLE 1
+#endif
+
+// If colors are defined, they will be static. If not defined, color for indicators can be set in VIA.
+//#define CAPS_LOCK_COLOR HSV_GREEN
+//#define SCROLL_LOCK_COLOR HSV_GREEN
bool led_update_kb(led_t led_state) {
bool res = led_update_user(led_state);
diff --git a/keyboards/4pplet/waffling80/rev_a/rev_a.h b/keyboards/4pplet/waffling80/rev_a/rev_a.h
deleted file mode 100644
index c8d4c8b971..0000000000
--- a/keyboards/4pplet/waffling80/rev_a/rev_a.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-Copyright 2022 Stefan Sundin "4pplet" <[email protected]>
-
-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
-
-#define CAPS_LOCK_ENABLE 1
-#define SCROLL_LOCK_ENABLE 1
-
-// If colors are defined, they will be static. If not defined, color for incicators can be set in VIA.
-//#define CAPS_LOCK_COLOR HSV_GREEN
-//#define SCROLL_LOCK_COLOR HSV_GREEN
-
-#include "quantum.h"