aboutsummaryrefslogtreecommitdiff
path: root/keyboards/xenon
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-04-12 04:36:31 +0100
committerGitHub <[email protected]>2024-04-12 04:36:31 +0100
commit45b710f9e16733ab73af5f2ed1b0b13233db49e9 (patch)
tree28ebf0f60fa4a703fee358612197c3d87429945d /keyboards/xenon
parent8caa8674d225c1c26403f8c311be6ffbdd9081e1 (diff)
downloadqmk_firmware-45b710f9e16733ab73af5f2ed1b0b13233db49e9.tar.gz
qmk_firmware-45b710f9e16733ab73af5f2ed1b0b13233db49e9.zip
Migrate build target markers to keyboard.json - X (#23460)
Diffstat (limited to 'keyboards/xenon')
-rw-r--r--keyboards/xenon/config.h31
-rw-r--r--keyboards/xenon/keyboard.json (renamed from keyboards/xenon/info.json)15
-rw-r--r--keyboards/xenon/rules.mk14
3 files changed, 15 insertions, 45 deletions
diff --git a/keyboards/xenon/config.h b/keyboards/xenon/config.h
deleted file mode 100644
index 4a0752d371..0000000000
--- a/keyboards/xenon/config.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-Copyright 2020 Kyrre Havik Eriksen
-
-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
-
-#ifdef OLED_ENABLE
- #define OLED_DISPLAY_128X32
-#endif
-
-// If you are using an Elite C rev3 on the slave side, uncomment the lines below:
-// #define SPLIT_USB_DETECT
-// #define NO_USB_STARTUP_CHECK
diff --git a/keyboards/xenon/info.json b/keyboards/xenon/keyboard.json
index de20eacaf4..7f78988525 100644
--- a/keyboards/xenon/info.json
+++ b/keyboards/xenon/keyboard.json
@@ -8,6 +8,21 @@
"pid": "0x3404",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": false,
+ "console": true,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": false,
+ "oled": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B2", "B3", "B1", "F7", "F6", "F5", "F4"],
"rows": ["D4", "C6", "D7", "E6", "B4"]
diff --git a/keyboards/xenon/rules.mk b/keyboards/xenon/rules.mk
deleted file mode 100644
index 108932bcce..0000000000
--- a/keyboards/xenon/rules.mk
+++ /dev/null
@@ -1,14 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # 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
-OLED_ENABLE = yes
-ENCODER_ENABLE = yes