aboutsummaryrefslogtreecommitdiff
path: root/keyboards/westm
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/westm
parentbbf63a84664282289a10ccf2b7bd4dadde3ed635 (diff)
downloadqmk_firmware-43a122e050647057dbaa16bc50417b9306e00bcc.tar.gz
qmk_firmware-43a122e050647057dbaa16bc50417b9306e00bcc.zip
Migrate build target markers to keyboard.json - W (#23511)
Diffstat (limited to 'keyboards/westm')
-rw-r--r--keyboards/westm/westmergo/config.h22
-rw-r--r--keyboards/westm/westmergo/keyboard.json (renamed from keyboards/westm/westmergo/info.json)15
-rw-r--r--keyboards/westm/westmergo/rules.mk13
3 files changed, 15 insertions, 35 deletions
diff --git a/keyboards/westm/westmergo/config.h b/keyboards/westm/westmergo/config.h
deleted file mode 100644
index 4e85b2e402..0000000000
--- a/keyboards/westm/westmergo/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2021 WestM
- *
- * 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/westm/westmergo/info.json b/keyboards/westm/westmergo/keyboard.json
index de733b988a..0ead866202 100644
--- a/keyboards/westm/westmergo/info.json
+++ b/keyboards/westm/westmergo/keyboard.json
@@ -8,6 +8,21 @@
"pid": "0x0201",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "command": true,
+ "console": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgblight": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"rgblight": {
"led_count": 16,
"animations": {
diff --git a/keyboards/westm/westmergo/rules.mk b/keyboards/westm/westmergo/rules.mk
index aae254503b..0ab54aaaf7 100644
--- a/keyboards/westm/westmergo/rules.mk
+++ b/keyboards/westm/westmergo/rules.mk
@@ -1,15 +1,2 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF
-
-# 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 = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output \ No newline at end of file