From 8e5cd981e1cb8580cde65ac99f335b59d65da632 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Thu, 14 Mar 2024 03:56:42 +0000 Subject: Migrate features from rules.mk to DD (#23247) --- keyboards/dmqdesign/spin/info.json | 56 ---------------------------- keyboards/dmqdesign/spin/keyboard.json | 67 ++++++++++++++++++++++++++++++++++ keyboards/dmqdesign/spin/rules.mk | 14 ------- 3 files changed, 67 insertions(+), 70 deletions(-) delete mode 100644 keyboards/dmqdesign/spin/info.json create mode 100644 keyboards/dmqdesign/spin/keyboard.json delete mode 100644 keyboards/dmqdesign/spin/rules.mk (limited to 'keyboards/dmqdesign') diff --git a/keyboards/dmqdesign/spin/info.json b/keyboards/dmqdesign/spin/info.json deleted file mode 100644 index aeeb19299e..0000000000 --- a/keyboards/dmqdesign/spin/info.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "keyboard_name": "SPIN", - "manufacturer": "DMQ Design", - "url": "https://www.DMQdesign.com", - "maintainer": "Quarren42", - "usb": { - "vid": "0xA455", - "pid": "0x0001", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["F5", "F6", "F7", "C7", "C6"], - "rows": ["F0", "F1", "F4"] - }, - "diode_direction": "COL2ROW", - "encoder": { - "rotary": [ - {"pin_a": "B6", "pin_b": "B5"}, - {"pin_a": "B4", "pin_b": "D7"}, - {"pin_a": "D6", "pin_b": "D4"} - ] - }, - "rgblight": { - "led_count": 3 - }, - "ws2812": { - "pin": "D3" - }, - "processor": "atmega32u4", - "bootloader": "atmel-dfu", - "layouts": { - "LAYOUT": { - "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [1, 0], "x": 1, "y": 0}, - {"matrix": [2, 0], "x": 2, "y": 0}, - {"matrix": [2, 4], "x": 3.5, "y": 0}, - - {"matrix": [0, 1], "x": 0, "y": 1}, - {"matrix": [1, 1], "x": 1, "y": 1}, - {"matrix": [2, 1], "x": 2, "y": 1}, - - {"matrix": [1, 4], "x": 3.5, "y": 1.5}, - - {"matrix": [0, 2], "x": 0, "y": 2}, - {"matrix": [1, 2], "x": 1, "y": 2}, - {"matrix": [2, 2], "x": 2, "y": 2}, - - {"matrix": [0, 4], "x": 3.5, "y": 3}, - {"matrix": [0, 3], "x": 0, "y": 3}, - {"matrix": [1, 3], "x": 1, "y": 3}, - {"matrix": [2, 3], "x": 2, "y": 3} - ] - } - } -} diff --git a/keyboards/dmqdesign/spin/keyboard.json b/keyboards/dmqdesign/spin/keyboard.json new file mode 100644 index 0000000000..a2bc050e91 --- /dev/null +++ b/keyboards/dmqdesign/spin/keyboard.json @@ -0,0 +1,67 @@ +{ + "keyboard_name": "SPIN", + "manufacturer": "DMQ Design", + "url": "https://www.DMQdesign.com", + "maintainer": "Quarren42", + "usb": { + "vid": "0xA455", + "pid": "0x0001", + "device_version": "0.0.1" + }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "midi": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, + "matrix_pins": { + "cols": ["F5", "F6", "F7", "C7", "C6"], + "rows": ["F0", "F1", "F4"] + }, + "diode_direction": "COL2ROW", + "encoder": { + "rotary": [ + {"pin_a": "B6", "pin_b": "B5"}, + {"pin_a": "B4", "pin_b": "D7"}, + {"pin_a": "D6", "pin_b": "D4"} + ] + }, + "rgblight": { + "led_count": 3 + }, + "ws2812": { + "pin": "D3" + }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [1, 0], "x": 1, "y": 0}, + {"matrix": [2, 0], "x": 2, "y": 0}, + {"matrix": [2, 4], "x": 3.5, "y": 0}, + + {"matrix": [0, 1], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [2, 1], "x": 2, "y": 1}, + + {"matrix": [1, 4], "x": 3.5, "y": 1.5}, + + {"matrix": [0, 2], "x": 0, "y": 2}, + {"matrix": [1, 2], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2, "y": 2}, + + {"matrix": [0, 4], "x": 3.5, "y": 3}, + {"matrix": [0, 3], "x": 0, "y": 3}, + {"matrix": [1, 3], "x": 1, "y": 3}, + {"matrix": [2, 3], "x": 2, "y": 3} + ] + } + } +} diff --git a/keyboards/dmqdesign/spin/rules.mk b/keyboards/dmqdesign/spin/rules.mk deleted file mode 100644 index e77cf66617..0000000000 --- a/keyboards/dmqdesign/spin/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # 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 = yes # Enable keyboard RGB underglow -MIDI_ENABLE = yes # MIDI support -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable rotary encoder support -- cgit v1.2.3