diff options
Diffstat (limited to 'keyboards/percent')
-rw-r--r-- | keyboards/percent/booster/keyboard.json (renamed from keyboards/percent/booster/info.json) | 13 | ||||
-rw-r--r-- | keyboards/percent/booster/rules.mk | 13 | ||||
-rw-r--r-- | keyboards/percent/canoe/keyboard.json (renamed from keyboards/percent/canoe/info.json) | 10 | ||||
-rw-r--r-- | keyboards/percent/canoe/rules.mk | 10 | ||||
-rw-r--r-- | keyboards/percent/canoe_gen2/canoe_gen2.c | 8 | ||||
-rw-r--r-- | keyboards/percent/canoe_gen2/config.h | 23 | ||||
-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.mk | 14 | ||||
-rw-r--r-- | keyboards/percent/skog/keyboard.json (renamed from keyboards/percent/skog/info.json) | 10 | ||||
-rw-r--r-- | keyboards/percent/skog/rules.mk | 10 | ||||
-rw-r--r-- | keyboards/percent/skog_lite/keyboard.json (renamed from keyboards/percent/skog_lite/info.json) | 10 | ||||
-rw-r--r-- | keyboards/percent/skog_lite/rules.mk | 10 |
12 files changed, 62 insertions, 83 deletions
diff --git a/keyboards/percent/booster/info.json b/keyboards/percent/booster/keyboard.json index 5718cb81c4..edd9afd18d 100644 --- a/keyboards/percent/booster/info.json +++ b/keyboards/percent/booster/keyboard.json @@ -8,6 +8,19 @@ "pid": "0x4253", "device_version": "0.0.1" }, + "build": { + "lto": true + }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "D4", "D2", "D0"], "rows": ["D1", "D6", "D7", "B4", "B5"] diff --git a/keyboards/percent/booster/rules.mk b/keyboards/percent/booster/rules.mk deleted file mode 100644 index 74db606881..0000000000 --- a/keyboards/percent/booster/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -LTO_ENABLE = yes diff --git a/keyboards/percent/canoe/info.json b/keyboards/percent/canoe/keyboard.json index a1fc705561..656f73f904 100644 --- a/keyboards/percent/canoe/info.json +++ b/keyboards/percent/canoe/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x434E", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4"] diff --git a/keyboards/percent/canoe/rules.mk b/keyboards/percent/canoe/rules.mk deleted file mode 100644 index 6b0cec85a4..0000000000 --- a/keyboards/percent/canoe/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/percent/canoe_gen2/canoe_gen2.c b/keyboards/percent/canoe_gen2/canoe_gen2.c index e5beff54a3..ea091c3474 100644 --- a/keyboards/percent/canoe_gen2/canoe_gen2.c +++ b/keyboards/percent/canoe_gen2/canoe_gen2.c @@ -18,13 +18,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "quantum.h" void keyboard_pre_init_kb(void) { - setPinOutput(E6); - writePinHigh(E6); + gpio_set_pin_output(E6); + gpio_write_pin_high(E6); + + keyboard_pre_init_user(); } bool led_update_kb(led_t led_state) { if(led_update_user(led_state)) { - writePin(E6, !led_state.caps_lock); + gpio_write_pin(E6, !led_state.caps_lock); } return true; 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 diff --git a/keyboards/percent/skog/info.json b/keyboards/percent/skog/keyboard.json index 4ba43d6c04..823c1638ac 100644 --- a/keyboards/percent/skog/info.json +++ b/keyboards/percent/skog/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2"], "rows": ["B0", "B1", "B2", "B3", "B5", "B6", "B7"] diff --git a/keyboards/percent/skog/rules.mk b/keyboards/percent/skog/rules.mk deleted file mode 100644 index 6b0cec85a4..0000000000 --- a/keyboards/percent/skog/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/percent/skog_lite/info.json b/keyboards/percent/skog_lite/keyboard.json index ed75e8ae2b..e52d910845 100644 --- a/keyboards/percent/skog_lite/info.json +++ b/keyboards/percent/skog_lite/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C4", "C2", "D7", "C7", "C6", "A0", "A1", "A2", "A3", "A7", "A6", "A4", "A5", "C5", "C3"], "rows": ["B0", "B1", "B2", "B3", "B4", "B6", "B5"] diff --git a/keyboards/percent/skog_lite/rules.mk b/keyboards/percent/skog_lite/rules.mk deleted file mode 100644 index 747ea2aae3..0000000000 --- a/keyboards/percent/skog_lite/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |