aboutsummaryrefslogtreecommitdiff
path: root/keyboards/4pplet/perk60_iso/rev_a
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/4pplet/perk60_iso/rev_a')
-rw-r--r--keyboards/4pplet/perk60_iso/rev_a/keyboard.json3
-rw-r--r--keyboards/4pplet/perk60_iso/rev_a/rev_a.c15
-rw-r--r--keyboards/4pplet/perk60_iso/rev_a/rev_a.h23
3 files changed, 14 insertions, 27 deletions
diff --git a/keyboards/4pplet/perk60_iso/rev_a/keyboard.json b/keyboards/4pplet/perk60_iso/rev_a/keyboard.json
index 56e7a25de4..8d3a519a87 100644
--- a/keyboards/4pplet/perk60_iso/rev_a/keyboard.json
+++ b/keyboards/4pplet/perk60_iso/rev_a/keyboard.json
@@ -1,7 +1,6 @@
{
"keyboard_name": "Perk60 ISO Rev A",
"manufacturer": "4pplet",
- "url": "",
"maintainer": "4pplet",
"usb": {
"vid": "0x4444",
@@ -42,8 +41,6 @@
},
"features": {
"bootmagic": true,
- "command": false,
- "console": false,
"extrakey": true,
"mousekey": false,
"nkro": true,
diff --git a/keyboards/4pplet/perk60_iso/rev_a/rev_a.c b/keyboards/4pplet/perk60_iso/rev_a/rev_a.c
index 2de3acc60d..c4ab064cb2 100644
--- a/keyboards/4pplet/perk60_iso/rev_a/rev_a.c
+++ b/keyboards/4pplet/perk60_iso/rev_a/rev_a.c
@@ -14,7 +14,20 @@ 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 true
+#endif
+
+#ifndef CAPS_LOCK_COLOR
+# define CAPS_LOCK_COLOR RGB_RED
+#endif
+
+#ifndef CAPS_LED_GROUP
+// change what leds to target, for example LED_FLAG_KEYLIGHT for alpas or LED_FLAG_MODIFIER for modifiers
+# define CAPS_LED_GROUP LED_FLAG_INDICATOR
+#endif
#ifdef RGB_MATRIX_ENABLE
const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = {
diff --git a/keyboards/4pplet/perk60_iso/rev_a/rev_a.h b/keyboards/4pplet/perk60_iso/rev_a/rev_a.h
deleted file mode 100644
index 2f4fa7531a..0000000000
--- a/keyboards/4pplet/perk60_iso/rev_a/rev_a.h
+++ /dev/null
@@ -1,23 +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 true
-#define CAPS_LOCK_COLOR RGB_RED
-#define CAPS_LED_GROUP LED_FLAG_INDICATOR // change what leds to target, for example LED_FLAG_KEYLIGHT for alpas or LED_FLAG_MODIFIER for modifiers
-
-#include "quantum.h"