diff options
author | Joel Challis <[email protected]> | 2024-04-12 04:36:31 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-12 04:36:31 +0100 |
commit | 45b710f9e16733ab73af5f2ed1b0b13233db49e9 (patch) | |
tree | 28ebf0f60fa4a703fee358612197c3d87429945d /keyboards/xelus/valor | |
parent | 8caa8674d225c1c26403f8c311be6ffbdd9081e1 (diff) | |
download | qmk_firmware-45b710f9e16733ab73af5f2ed1b0b13233db49e9.tar.gz qmk_firmware-45b710f9e16733ab73af5f2ed1b0b13233db49e9.zip |
Migrate build target markers to keyboard.json - X (#23460)
Diffstat (limited to 'keyboards/xelus/valor')
-rw-r--r-- | keyboards/xelus/valor/info.json | 8 | ||||
-rw-r--r-- | keyboards/xelus/valor/rev1/config.h | 23 | ||||
-rw-r--r-- | keyboards/xelus/valor/rev2/config.h | 6 | ||||
-rw-r--r-- | keyboards/xelus/valor/rev2/keyboard.json (renamed from keyboards/xelus/valor/rev2/info.json) | 10 | ||||
-rw-r--r-- | keyboards/xelus/valor/rev2/rules.mk | 14 |
5 files changed, 18 insertions, 43 deletions
diff --git a/keyboards/xelus/valor/info.json b/keyboards/xelus/valor/info.json new file mode 100644 index 0000000000..588361fc98 --- /dev/null +++ b/keyboards/xelus/valor/info.json @@ -0,0 +1,8 @@ +{ + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + } +} diff --git a/keyboards/xelus/valor/rev1/config.h b/keyboards/xelus/valor/rev1/config.h deleted file mode 100644 index fe18ba5b71..0000000000 --- a/keyboards/xelus/valor/rev1/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2020 Harrison Chan (Xelus) - * - * 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/xelus/valor/rev2/config.h b/keyboards/xelus/valor/rev2/config.h index 9491d1f175..7b968ea2a3 100644 --- a/keyboards/xelus/valor/rev2/config.h +++ b/keyboards/xelus/valor/rev2/config.h @@ -16,12 +16,6 @@ #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 - // I2C setup #define I2C1_SCL_PIN B8 #define I2C1_SDA_PIN B9 diff --git a/keyboards/xelus/valor/rev2/info.json b/keyboards/xelus/valor/rev2/keyboard.json index 196c1ad1c4..21de5fb4a2 100644 --- a/keyboards/xelus/valor/rev2/info.json +++ b/keyboards/xelus/valor/rev2/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x5653", "device_version": "0.0.1" }, + "build": { + "lto": true + }, + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "ws2812": { "pin": "A9", "driver": "pwm" diff --git a/keyboards/xelus/valor/rev2/rules.mk b/keyboards/xelus/valor/rev2/rules.mk index 7fd72e35e7..8d76aac36c 100644 --- a/keyboards/xelus/valor/rev2/rules.mk +++ b/keyboards/xelus/valor/rev2/rules.mk @@ -1,17 +1,3 @@ -# 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 = yes # 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 OPT = 2 -LTO_ENABLE = yes |