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/arrayperipherals/1x4p1/info.json | 34 -------------------- keyboards/arrayperipherals/1x4p1/keyboard.json | 44 ++++++++++++++++++++++++++ keyboards/arrayperipherals/1x4p1/rules.mk | 14 -------- 3 files changed, 44 insertions(+), 48 deletions(-) delete mode 100644 keyboards/arrayperipherals/1x4p1/info.json create mode 100644 keyboards/arrayperipherals/1x4p1/keyboard.json delete mode 100644 keyboards/arrayperipherals/1x4p1/rules.mk (limited to 'keyboards/arrayperipherals') diff --git a/keyboards/arrayperipherals/1x4p1/info.json b/keyboards/arrayperipherals/1x4p1/info.json deleted file mode 100644 index 6d450188c9..0000000000 --- a/keyboards/arrayperipherals/1x4p1/info.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "keyboard_name": "[1x4] + 1 Macropad", - "manufacturer": "Array Peripherals", - "url": "https://github.com/daviddoan", - "maintainer": "David Doan", - "usb": { - "vid": "0x4152", - "pid": "0x4F46", - "device_version": "0.0.1" - }, - "encoder": { - "rotary": [ - {"pin_a": "F0", "pin_b": "F1"} - ] - }, - "processor": "atmega32u4", - "bootloader": "caterina", - "matrix_pins": { - "direct": [ - ["C7", "B7", "D6", "F5", "F7"] - ] - }, - "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": 4, "y": 0, "matrix": [0, 4]} - ] - } - } -} diff --git a/keyboards/arrayperipherals/1x4p1/keyboard.json b/keyboards/arrayperipherals/1x4p1/keyboard.json new file mode 100644 index 0000000000..f9344e3538 --- /dev/null +++ b/keyboards/arrayperipherals/1x4p1/keyboard.json @@ -0,0 +1,44 @@ +{ + "keyboard_name": "[1x4] + 1 Macropad", + "manufacturer": "Array Peripherals", + "url": "https://github.com/daviddoan", + "maintainer": "David Doan", + "usb": { + "vid": "0x4152", + "pid": "0x4F46", + "device_version": "0.0.1" + }, + "encoder": { + "rotary": [ + {"pin_a": "F0", "pin_b": "F1"} + ] + }, + "processor": "atmega32u4", + "bootloader": "caterina", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "unicode": true + }, + "matrix_pins": { + "direct": [ + ["C7", "B7", "D6", "F5", "F7"] + ] + }, + "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": 4, "y": 0, "matrix": [0, 4]} + ] + } + } +} diff --git a/keyboards/arrayperipherals/1x4p1/rules.mk b/keyboards/arrayperipherals/1x4p1/rules.mk deleted file mode 100644 index 125977e027..0000000000 --- a/keyboards/arrayperipherals/1x4p1/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# 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 -UNICODE_ENABLE = yes -ENCODER_ENABLE = yes -- cgit v1.2.3