aboutsummaryrefslogtreecommitdiff
path: root/keyboards/redox_media
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-04-17 19:32:56 +0100
committerGitHub <[email protected]>2024-04-17 19:32:56 +0100
commitabcaf39e6c399f77a846e627324d4b9d9d79fe5f (patch)
tree0b9875c570e60e208b950edd812cb59c4244fe08 /keyboards/redox_media
parent860c218415b89104d53e84b7843d88167b5ccbc1 (diff)
downloadqmk_firmware-abcaf39e6c399f77a846e627324d4b9d9d79fe5f.tar.gz
qmk_firmware-abcaf39e6c399f77a846e627324d4b9d9d79fe5f.zip
Migrate build target markers to keyboard.json - R (#23542)
Diffstat (limited to 'keyboards/redox_media')
-rw-r--r--keyboards/redox_media/config.h23
-rw-r--r--keyboards/redox_media/keyboard.json (renamed from keyboards/redox_media/info.json)13
-rw-r--r--keyboards/redox_media/rules.mk14
3 files changed, 13 insertions, 37 deletions
diff --git a/keyboards/redox_media/config.h b/keyboards/redox_media/config.h
deleted file mode 100644
index ca325c381e..0000000000
--- a/keyboards/redox_media/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 2021 Shiftux <[email protected]>
-
-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/redox_media/info.json b/keyboards/redox_media/keyboard.json
index c4e890f557..baf1cfeb43 100644
--- a/keyboards/redox_media/info.json
+++ b/keyboards/redox_media/keyboard.json
@@ -8,6 +8,19 @@
"pid": "0x0000",
"device_version": "1.0.0"
},
+ "features": {
+ "bootmagic": true,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F6", "F7", "B1", "B3", "B2", "B6", "D1"],
"rows": ["D4", "C6", "D7", "E6", "B4", "B5"]
diff --git a/keyboards/redox_media/rules.mk b/keyboards/redox_media/rules.mk
index 5ad7700a76..1056aa2c41 100644
--- a/keyboards/redox_media/rules.mk
+++ b/keyboards/redox_media/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
-ENCODER_ENABLE = yes
-
# Disable unsupported hardware
AUDIO_SUPPORTED = no
BACKLIGHT_SUPPORTED = no