aboutsummaryrefslogtreecommitdiff
path: root/keyboards/percent
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-04-22 02:06:41 +0100
committerGitHub <[email protected]>2024-04-22 02:06:41 +0100
commit40d0512794651237a182b4f53a2278d0fb2e583e (patch)
tree232f20395add4f60681931f3094b4b2726f2c998 /keyboards/percent
parent191f62688079d644fe7ac471b2725e79e4d87f48 (diff)
downloadqmk_firmware-40d0512794651237a182b4f53a2278d0fb2e583e.tar.gz
qmk_firmware-40d0512794651237a182b4f53a2278d0fb2e583e.zip
Migrate build target markers to keyboard.json - P (#23565)
Diffstat (limited to 'keyboards/percent')
-rw-r--r--keyboards/percent/canoe_gen2/canoe_gen2.c2
-rw-r--r--keyboards/percent/canoe_gen2/config.h23
-rw-r--r--keyboards/percent/canoe_gen2/keyboard.json (renamed from keyboards/percent/canoe_gen2/info.json)14
-rw-r--r--keyboards/percent/canoe_gen2/rules.mk14
4 files changed, 16 insertions, 37 deletions
diff --git a/keyboards/percent/canoe_gen2/canoe_gen2.c b/keyboards/percent/canoe_gen2/canoe_gen2.c
index e5beff54a3..d174d01876 100644
--- a/keyboards/percent/canoe_gen2/canoe_gen2.c
+++ b/keyboards/percent/canoe_gen2/canoe_gen2.c
@@ -20,6 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
void keyboard_pre_init_kb(void) {
setPinOutput(E6);
writePinHigh(E6);
+
+ keyboard_pre_init_user();
}
bool led_update_kb(led_t led_state) {
diff --git a/keyboards/percent/canoe_gen2/config.h b/keyboards/percent/canoe_gen2/config.h
deleted file mode 100644
index 1f54b79bd0..0000000000
--- a/keyboards/percent/canoe_gen2/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 2020 Evy Dekkers
-
-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
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/percent/canoe_gen2/info.json b/keyboards/percent/canoe_gen2/keyboard.json
index 0fe5d0e894..0b6ece2613 100644
--- a/keyboards/percent/canoe_gen2/info.json
+++ b/keyboards/percent/canoe_gen2/keyboard.json
@@ -8,6 +8,20 @@
"pid": "0x89F0",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "console": true,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": false,
+ "rgb_matrix": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"ws2812": {
"pin": "B7"
},
diff --git a/keyboards/percent/canoe_gen2/rules.mk b/keyboards/percent/canoe_gen2/rules.mk
index d399c10822..942ef4c5db 100644
--- a/keyboards/percent/canoe_gen2/rules.mk
+++ b/keyboards/percent/canoe_gen2/rules.mk
@@ -1,15 +1 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = yes # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-RGB_MATRIX_ENABLE = yes
-
RGB_MATRIX_CUSTOM_KB = yes