From 80b72487ce053f128817c5d4c625a63cb3cf9c10 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 15 Mar 2024 01:42:33 +0000 Subject: Migrate features from rules.mk to data drive - LMN (#23277) --- keyboards/minimacro5/info.json | 56 -------------------------------- keyboards/minimacro5/keyboard.json | 66 ++++++++++++++++++++++++++++++++++++++ keyboards/minimacro5/rules.mk | 13 -------- 3 files changed, 66 insertions(+), 69 deletions(-) delete mode 100644 keyboards/minimacro5/info.json create mode 100644 keyboards/minimacro5/keyboard.json delete mode 100644 keyboards/minimacro5/rules.mk (limited to 'keyboards/minimacro5') diff --git a/keyboards/minimacro5/info.json b/keyboards/minimacro5/info.json deleted file mode 100644 index 4396783673..0000000000 --- a/keyboards/minimacro5/info.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "keyboard_name": "miniMACRO5", - "manufacturer": "leafcutterlabs", - "url": "", - "maintainer": "qmk", - "usb": { - "vid": "0xCEEB", - "pid": "0x0007", - "device_version": "0.0.1" - }, - "rgblight": { - "led_count": 5, - "animations": { - "breathing": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "knight": true, - "christmas": true, - "static_gradient": true, - "rgb_test": true, - "alternating": true, - "twinkle": true - } - }, - "ws2812": { - "pin": "B5" - }, - "encoder": { - "rotary": [ - {"pin_a": "D3", "pin_b": "F5", "resolution": 2}, - {"pin_a": "F6", "pin_b": "D2", "resolution": 2}, - {"pin_a": "F7", "pin_b": "D1", "resolution": 2}, - {"pin_a": "D4", "pin_b": "D0", "resolution": 2}, - {"pin_a": "C6", "pin_b": "E6", "resolution": 2} - ] - }, - "processor": "atmega32u4", - "bootloader": "caterina", - "matrix_pins": { - "direct": [ - ["F4", "B6", "B2", "D7", "B4"] - ] - }, - "layouts": { - "LAYOUT_ortho_1x5": { - "layout": [ - {"x": 0, "y": 0, "matrix": [0, 0]}, - {"x": 1, "y": 0, "matrix": [0, 1]}, - {"x": 2, "y": 0, "matrix": [0, 2]}, - {"x": 3, "y": 0, "matrix": [0, 3]}, - {"x": 5, "y": 0, "matrix": [0, 4]} - ] - } - } -} diff --git a/keyboards/minimacro5/keyboard.json b/keyboards/minimacro5/keyboard.json new file mode 100644 index 0000000000..32be6abd5f --- /dev/null +++ b/keyboards/minimacro5/keyboard.json @@ -0,0 +1,66 @@ +{ + "keyboard_name": "miniMACRO5", + "manufacturer": "leafcutterlabs", + "url": "", + "maintainer": "qmk", + "usb": { + "vid": "0xCEEB", + "pid": "0x0007", + "device_version": "0.0.1" + }, + "rgblight": { + "led_count": 5, + "animations": { + "breathing": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "knight": true, + "christmas": true, + "static_gradient": true, + "rgb_test": true, + "alternating": true, + "twinkle": true + } + }, + "ws2812": { + "pin": "B5" + }, + "encoder": { + "rotary": [ + {"pin_a": "D3", "pin_b": "F5", "resolution": 2}, + {"pin_a": "F6", "pin_b": "D2", "resolution": 2}, + {"pin_a": "F7", "pin_b": "D1", "resolution": 2}, + {"pin_a": "D4", "pin_b": "D0", "resolution": 2}, + {"pin_a": "C6", "pin_b": "E6", "resolution": 2} + ] + }, + "processor": "atmega32u4", + "bootloader": "caterina", + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, + "matrix_pins": { + "direct": [ + ["F4", "B6", "B2", "D7", "B4"] + ] + }, + "layouts": { + "LAYOUT_ortho_1x5": { + "layout": [ + {"x": 0, "y": 0, "matrix": [0, 0]}, + {"x": 1, "y": 0, "matrix": [0, 1]}, + {"x": 2, "y": 0, "matrix": [0, 2]}, + {"x": 3, "y": 0, "matrix": [0, 3]}, + {"x": 5, "y": 0, "matrix": [0, 4]} + ] + } + } +} diff --git a/keyboards/minimacro5/rules.mk b/keyboards/minimacro5/rules.mk deleted file mode 100644 index 897a356cf6..0000000000 --- a/keyboards/minimacro5/rules.mk +++ /dev/null @@ -1,13 +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 -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes #enable rotary encoders -- cgit v1.2.3