aboutsummaryrefslogtreecommitdiff
path: root/keyboards/wekey
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-04-13 06:31:34 +0100
committerGitHub <[email protected]>2024-04-13 06:31:34 +0100
commit43a122e050647057dbaa16bc50417b9306e00bcc (patch)
tree3afe0ca15bc1bd3d3a6d25aeba8ac1620cd675d5 /keyboards/wekey
parentbbf63a84664282289a10ccf2b7bd4dadde3ed635 (diff)
downloadqmk_firmware-43a122e050647057dbaa16bc50417b9306e00bcc.tar.gz
qmk_firmware-43a122e050647057dbaa16bc50417b9306e00bcc.zip
Migrate build target markers to keyboard.json - W (#23511)
Diffstat (limited to 'keyboards/wekey')
-rw-r--r--keyboards/wekey/we27/config.h39
-rw-r--r--keyboards/wekey/we27/keyboard.json (renamed from keyboards/wekey/we27/info.json)14
-rw-r--r--keyboards/wekey/we27/rules.mk15
3 files changed, 14 insertions, 54 deletions
diff --git a/keyboards/wekey/we27/config.h b/keyboards/wekey/we27/config.h
deleted file mode 100644
index c86ead57bd..0000000000
--- a/keyboards/wekey/we27/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 @wekey
-
-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
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/wekey/we27/info.json b/keyboards/wekey/we27/keyboard.json
index 802ae8eed6..d8cb7b0f80 100644
--- a/keyboards/wekey/we27/info.json
+++ b/keyboards/wekey/we27/keyboard.json
@@ -8,6 +8,20 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false,
+ "rgb_matrix": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"rgb_matrix": {
"animations": {
"rainbow_moving_chevron": true
diff --git a/keyboards/wekey/we27/rules.mk b/keyboards/wekey/we27/rules.mk
index 1c5cc136ca..942ef4c5db 100644
--- a/keyboards/wekey/we27/rules.mk
+++ b/keyboards/wekey/we27/rules.mk
@@ -1,16 +1 @@
-# 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 = no # 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
-ENCODER_ENABLE = yes
-RGB_MATRIX_ENABLE = yes # Use RGB matrix
-
RGB_MATRIX_CUSTOM_KB = yes