From abcaf39e6c399f77a846e627324d4b9d9d79fe5f Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Wed, 17 Apr 2024 19:32:56 +0100 Subject: Migrate build target markers to keyboard.json - R (#23542) --- keyboards/redox_media/config.h | 23 ------- keyboards/redox_media/info.json | 117 -------------------------------- keyboards/redox_media/keyboard.json | 130 ++++++++++++++++++++++++++++++++++++ keyboards/redox_media/rules.mk | 14 ---- 4 files changed, 130 insertions(+), 154 deletions(-) delete mode 100644 keyboards/redox_media/config.h delete mode 100644 keyboards/redox_media/info.json create mode 100644 keyboards/redox_media/keyboard.json (limited to 'keyboards/redox_media') 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 - -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 . -*/ - -#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/info.json deleted file mode 100644 index c4e890f557..0000000000 --- a/keyboards/redox_media/info.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "keyboard_name": "Redox Media", - "manufacturer": "shiftux", - "url": "", - "maintainer": "shiftux", - "usb": { - "vid": "0xFEED", - "pid": "0x0000", - "device_version": "1.0.0" - }, - "matrix_pins": { - "cols": ["F6", "F7", "B1", "B3", "B2", "B6", "D1"], - "rows": ["D4", "C6", "D7", "E6", "B4", "B5"] - }, - "diode_direction": "COL2ROW", - "encoder": { - "rotary": [ - {"pin_a": "F4", "pin_b": "F5"} - ] - }, - "split": { - "enabled": true, - "soft_serial_pin": "D0" - }, - "processor": "atmega32u4", - "bootloader": "caterina", - "layouts": { - "LAYOUT": { - "layout": [ - {"matrix": [5, 6], "x": 5.25, "y": 0.15}, - - {"matrix": [11, 6], "x": 12.25, "y": 0.15}, - {"matrix": [11, 5], "x": 13.5, "y": 0}, - - {"matrix": [0, 0], "x": 0, "y": 1.375, "w": 1.25}, - {"matrix": [0, 1], "x": 1.25, "y": 1.375}, - {"matrix": [0, 2], "x": 2.25, "y": 1.125}, - {"matrix": [0, 3], "x": 3.25, "y": 1}, - {"matrix": [0, 4], "x": 4.25, "y": 1.125}, - {"matrix": [0, 5], "x": 5.25, "y": 1.25}, - - {"matrix": [6, 5], "x": 12.25, "y": 1.25}, - {"matrix": [6, 4], "x": 13.25, "y": 1.125}, - {"matrix": [6, 3], "x": 14.25, "y": 1}, - {"matrix": [6, 2], "x": 15.25, "y": 1.125}, - {"matrix": [6, 1], "x": 16.25, "y": 1.375}, - {"matrix": [6, 0], "x": 17.25, "y": 1.375, "w": 1.25}, - - {"matrix": [1, 0], "x": 0, "y": 2.375, "w": 1.25}, - {"matrix": [1, 1], "x": 1.25, "y": 2.375}, - {"matrix": [1, 2], "x": 2.25, "y": 2.125}, - {"matrix": [1, 3], "x": 3.25, "y": 2}, - {"matrix": [1, 4], "x": 4.25, "y": 2.125}, - {"matrix": [1, 5], "x": 5.25, "y": 2.25}, - {"matrix": [0, 6], "x": 6.25, "y": 1.75}, - - {"matrix": [6, 6], "x": 11.25, "y": 1.75}, - {"matrix": [7, 5], "x": 12.25, "y": 2.25}, - {"matrix": [7, 4], "x": 13.25, "y": 2.125}, - {"matrix": [7, 3], "x": 14.25, "y": 2}, - {"matrix": [7, 2], "x": 15.25, "y": 2.125}, - {"matrix": [7, 1], "x": 16.25, "y": 2.375}, - {"matrix": [7, 0], "x": 17.25, "y": 2.375, "w": 1.25}, - - {"matrix": [2, 0], "x": 0, "y": 3.375, "w": 1.25}, - {"matrix": [2, 1], "x": 1.25, "y": 3.375}, - {"matrix": [2, 2], "x": 2.25, "y": 3.125}, - {"matrix": [2, 3], "x": 3.25, "y": 3}, - {"matrix": [2, 4], "x": 4.25, "y": 3.125}, - {"matrix": [2, 5], "x": 5.25, "y": 3.25}, - {"matrix": [1, 6], "x": 6.25, "y": 3}, - - {"matrix": [7, 6], "x": 11.25, "y": 3}, - {"matrix": [8, 5], "x": 12.25, "y": 3.25}, - {"matrix": [8, 4], "x": 13.25, "y": 3.125}, - {"matrix": [8, 3], "x": 14.25, "y": 3}, - {"matrix": [8, 2], "x": 15.25, "y": 3.125}, - {"matrix": [8, 1], "x": 16.25, "y": 3.375}, - {"matrix": [8, 0], "x": 17.25, "y": 3.375, "w": 1.25}, - - {"matrix": [3, 0], "x": 0, "y": 4.375, "w": 1.25}, - {"matrix": [3, 1], "x": 1.25, "y": 4.375}, - {"matrix": [3, 2], "x": 2.25, "y": 4.125}, - {"matrix": [3, 3], "x": 3.25, "y": 4}, - {"matrix": [3, 4], "x": 4.25, "y": 4.125}, - {"matrix": [3, 5], "x": 5.25, "y": 4.25}, - {"matrix": [2, 6], "x": 6.75, "y": 4.75}, - {"matrix": [3, 6], "x": 7.75, "y": 4.75}, - - {"matrix": [9, 6], "x": 9.75, "y": 4.75}, - {"matrix": [8, 6], "x": 10.75, "y": 4.75}, - {"matrix": [9, 5], "x": 12.25, "y": 4.25}, - {"matrix": [9, 4], "x": 13.25, "y": 4.125}, - {"matrix": [9, 3], "x": 14.25, "y": 4}, - {"matrix": [9, 2], "x": 15.25, "y": 4.125}, - {"matrix": [9, 1], "x": 16.25, "y": 4.375}, - {"matrix": [9, 0], "x": 17.25, "y": 4.375, "w": 1.25}, - - {"matrix": [4, 0], "x": 0.25, "y": 5.375}, - {"matrix": [4, 1], "x": 1.25, "y": 5.375}, - {"matrix": [4, 2], "x": 2.25, "y": 5.125}, - {"matrix": [4, 3], "x": 3.25, "y": 5}, - {"matrix": [4, 4], "x": 5.5, "y": 6.25, "w": 1.25}, - {"matrix": [4, 5], "x": 6.75, "y": 5.75, "h": 1.5}, - {"matrix": [4, 6], "x": 7.75, "y": 5.75, "h": 1.5}, - - {"matrix": [10, 6], "x": 9.75, "y": 5.75, "h": 1.5}, - {"matrix": [10, 5], "x": 10.75, "y": 5.75, "h": 1.5}, - {"matrix": [10, 4], "x": 11.75, "y": 6.25, "w": 1.25}, - {"matrix": [10, 3], "x": 14.25, "y": 5}, - {"matrix": [10, 2], "x": 15.25, "y": 5.125}, - {"matrix": [10, 1], "x": 16.25, "y": 5.375}, - {"matrix": [10, 0], "x": 17.25, "y": 5.375} - ] - } - } -} diff --git a/keyboards/redox_media/keyboard.json b/keyboards/redox_media/keyboard.json new file mode 100644 index 0000000000..baf1cfeb43 --- /dev/null +++ b/keyboards/redox_media/keyboard.json @@ -0,0 +1,130 @@ +{ + "keyboard_name": "Redox Media", + "manufacturer": "shiftux", + "url": "", + "maintainer": "shiftux", + "usb": { + "vid": "0xFEED", + "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"] + }, + "diode_direction": "COL2ROW", + "encoder": { + "rotary": [ + {"pin_a": "F4", "pin_b": "F5"} + ] + }, + "split": { + "enabled": true, + "soft_serial_pin": "D0" + }, + "processor": "atmega32u4", + "bootloader": "caterina", + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [5, 6], "x": 5.25, "y": 0.15}, + + {"matrix": [11, 6], "x": 12.25, "y": 0.15}, + {"matrix": [11, 5], "x": 13.5, "y": 0}, + + {"matrix": [0, 0], "x": 0, "y": 1.375, "w": 1.25}, + {"matrix": [0, 1], "x": 1.25, "y": 1.375}, + {"matrix": [0, 2], "x": 2.25, "y": 1.125}, + {"matrix": [0, 3], "x": 3.25, "y": 1}, + {"matrix": [0, 4], "x": 4.25, "y": 1.125}, + {"matrix": [0, 5], "x": 5.25, "y": 1.25}, + + {"matrix": [6, 5], "x": 12.25, "y": 1.25}, + {"matrix": [6, 4], "x": 13.25, "y": 1.125}, + {"matrix": [6, 3], "x": 14.25, "y": 1}, + {"matrix": [6, 2], "x": 15.25, "y": 1.125}, + {"matrix": [6, 1], "x": 16.25, "y": 1.375}, + {"matrix": [6, 0], "x": 17.25, "y": 1.375, "w": 1.25}, + + {"matrix": [1, 0], "x": 0, "y": 2.375, "w": 1.25}, + {"matrix": [1, 1], "x": 1.25, "y": 2.375}, + {"matrix": [1, 2], "x": 2.25, "y": 2.125}, + {"matrix": [1, 3], "x": 3.25, "y": 2}, + {"matrix": [1, 4], "x": 4.25, "y": 2.125}, + {"matrix": [1, 5], "x": 5.25, "y": 2.25}, + {"matrix": [0, 6], "x": 6.25, "y": 1.75}, + + {"matrix": [6, 6], "x": 11.25, "y": 1.75}, + {"matrix": [7, 5], "x": 12.25, "y": 2.25}, + {"matrix": [7, 4], "x": 13.25, "y": 2.125}, + {"matrix": [7, 3], "x": 14.25, "y": 2}, + {"matrix": [7, 2], "x": 15.25, "y": 2.125}, + {"matrix": [7, 1], "x": 16.25, "y": 2.375}, + {"matrix": [7, 0], "x": 17.25, "y": 2.375, "w": 1.25}, + + {"matrix": [2, 0], "x": 0, "y": 3.375, "w": 1.25}, + {"matrix": [2, 1], "x": 1.25, "y": 3.375}, + {"matrix": [2, 2], "x": 2.25, "y": 3.125}, + {"matrix": [2, 3], "x": 3.25, "y": 3}, + {"matrix": [2, 4], "x": 4.25, "y": 3.125}, + {"matrix": [2, 5], "x": 5.25, "y": 3.25}, + {"matrix": [1, 6], "x": 6.25, "y": 3}, + + {"matrix": [7, 6], "x": 11.25, "y": 3}, + {"matrix": [8, 5], "x": 12.25, "y": 3.25}, + {"matrix": [8, 4], "x": 13.25, "y": 3.125}, + {"matrix": [8, 3], "x": 14.25, "y": 3}, + {"matrix": [8, 2], "x": 15.25, "y": 3.125}, + {"matrix": [8, 1], "x": 16.25, "y": 3.375}, + {"matrix": [8, 0], "x": 17.25, "y": 3.375, "w": 1.25}, + + {"matrix": [3, 0], "x": 0, "y": 4.375, "w": 1.25}, + {"matrix": [3, 1], "x": 1.25, "y": 4.375}, + {"matrix": [3, 2], "x": 2.25, "y": 4.125}, + {"matrix": [3, 3], "x": 3.25, "y": 4}, + {"matrix": [3, 4], "x": 4.25, "y": 4.125}, + {"matrix": [3, 5], "x": 5.25, "y": 4.25}, + {"matrix": [2, 6], "x": 6.75, "y": 4.75}, + {"matrix": [3, 6], "x": 7.75, "y": 4.75}, + + {"matrix": [9, 6], "x": 9.75, "y": 4.75}, + {"matrix": [8, 6], "x": 10.75, "y": 4.75}, + {"matrix": [9, 5], "x": 12.25, "y": 4.25}, + {"matrix": [9, 4], "x": 13.25, "y": 4.125}, + {"matrix": [9, 3], "x": 14.25, "y": 4}, + {"matrix": [9, 2], "x": 15.25, "y": 4.125}, + {"matrix": [9, 1], "x": 16.25, "y": 4.375}, + {"matrix": [9, 0], "x": 17.25, "y": 4.375, "w": 1.25}, + + {"matrix": [4, 0], "x": 0.25, "y": 5.375}, + {"matrix": [4, 1], "x": 1.25, "y": 5.375}, + {"matrix": [4, 2], "x": 2.25, "y": 5.125}, + {"matrix": [4, 3], "x": 3.25, "y": 5}, + {"matrix": [4, 4], "x": 5.5, "y": 6.25, "w": 1.25}, + {"matrix": [4, 5], "x": 6.75, "y": 5.75, "h": 1.5}, + {"matrix": [4, 6], "x": 7.75, "y": 5.75, "h": 1.5}, + + {"matrix": [10, 6], "x": 9.75, "y": 5.75, "h": 1.5}, + {"matrix": [10, 5], "x": 10.75, "y": 5.75, "h": 1.5}, + {"matrix": [10, 4], "x": 11.75, "y": 6.25, "w": 1.25}, + {"matrix": [10, 3], "x": 14.25, "y": 5}, + {"matrix": [10, 2], "x": 15.25, "y": 5.125}, + {"matrix": [10, 1], "x": 16.25, "y": 5.375}, + {"matrix": [10, 0], "x": 17.25, "y": 5.375} + ] + } + } +} 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 -- cgit v1.2.3