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/deng/djam/info.json | 68 ---------------------------------- keyboards/deng/djam/keyboard.json | 78 +++++++++++++++++++++++++++++++++++++++ keyboards/deng/djam/rules.mk | 13 ------- 3 files changed, 78 insertions(+), 81 deletions(-) delete mode 100644 keyboards/deng/djam/info.json create mode 100644 keyboards/deng/djam/keyboard.json delete mode 100644 keyboards/deng/djam/rules.mk (limited to 'keyboards/deng') diff --git a/keyboards/deng/djam/info.json b/keyboards/deng/djam/info.json deleted file mode 100644 index 47d9559d30..0000000000 --- a/keyboards/deng/djam/info.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "keyboard_name": "DJam", - "manufacturer": "Leo Deng", - "url": "", - "maintainer": "myst729", - "usb": { - "vid": "0xDE29", - "pid": "0x7325", - "device_version": "0.0.1" - }, - "rgb_matrix": { - "animations": { - "breathing": true, - "cycle_all": true, - "solid_reactive_multiwide": true, - "solid_reactive_multinexus": true, - "solid_multisplash": true - }, - "driver": "ws2812" - }, - "matrix_pins": { - "cols": ["C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], - "rows": ["F0", "F1", "F4"] - }, - "diode_direction": "COL2ROW", - "backlight": { - "pin": "B7", - "levels": 5 - }, - "ws2812": { - "pin": "D5" - }, - "processor": "atmega32u4", - "bootloader": "atmel-dfu", - "layouts": { - "LAYOUT": { - "layout": [ - {"matrix": [0, 0], "x": 1, "y": 0}, - {"matrix": [0, 1], "x": 2, "y": 0}, - {"matrix": [0, 2], "x": 3, "y": 0}, - - {"matrix": [0, 5], "x": 7, "y": 0}, - {"matrix": [0, 6], "x": 8, "y": 0}, - {"matrix": [0, 7], "x": 9, "y": 0}, - - {"matrix": [1, 0], "x": 0, "y": 0.5, "h": 2}, - - {"matrix": [1, 1], "x": 1, "y": 1}, - {"matrix": [1, 2], "x": 2, "y": 1}, - {"matrix": [1, 3], "x": 3, "y": 1}, - - {"matrix": [1, 4], "x": 7, "y": 1}, - {"matrix": [1, 5], "x": 8, "y": 1}, - {"matrix": [1, 6], "x": 9, "y": 1}, - - {"matrix": [1, 7], "x": 10, "y": 0.5, "h": 2}, - - {"matrix": [2, 0], "x": 0, "y": 3}, - {"matrix": [2, 1], "x": 1, "y": 3}, - {"matrix": [2, 2], "x": 3, "y": 3, "w": 2}, - {"matrix": [2, 3], "x": 5, "y": 3}, - {"matrix": [2, 4], "x": 6, "y": 3, "w": 2}, - {"matrix": [2, 5], "x": 9, "y": 3}, - {"matrix": [2, 6], "x": 10, "y": 3} - ] - } - } -} diff --git a/keyboards/deng/djam/keyboard.json b/keyboards/deng/djam/keyboard.json new file mode 100644 index 0000000000..94e2aca2ec --- /dev/null +++ b/keyboards/deng/djam/keyboard.json @@ -0,0 +1,78 @@ +{ + "keyboard_name": "DJam", + "manufacturer": "Leo Deng", + "url": "", + "maintainer": "myst729", + "usb": { + "vid": "0xDE29", + "pid": "0x7325", + "device_version": "0.0.1" + }, + "rgb_matrix": { + "animations": { + "breathing": true, + "cycle_all": true, + "solid_reactive_multiwide": true, + "solid_reactive_multinexus": true, + "solid_multisplash": true + }, + "driver": "ws2812" + }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgb_matrix": true + }, + "matrix_pins": { + "cols": ["C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], + "rows": ["F0", "F1", "F4"] + }, + "diode_direction": "COL2ROW", + "backlight": { + "pin": "B7", + "levels": 5 + }, + "ws2812": { + "pin": "D5" + }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 1, "y": 0}, + {"matrix": [0, 1], "x": 2, "y": 0}, + {"matrix": [0, 2], "x": 3, "y": 0}, + + {"matrix": [0, 5], "x": 7, "y": 0}, + {"matrix": [0, 6], "x": 8, "y": 0}, + {"matrix": [0, 7], "x": 9, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 0.5, "h": 2}, + + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + + {"matrix": [1, 4], "x": 7, "y": 1}, + {"matrix": [1, 5], "x": 8, "y": 1}, + {"matrix": [1, 6], "x": 9, "y": 1}, + + {"matrix": [1, 7], "x": 10, "y": 0.5, "h": 2}, + + {"matrix": [2, 0], "x": 0, "y": 3}, + {"matrix": [2, 1], "x": 1, "y": 3}, + {"matrix": [2, 2], "x": 3, "y": 3, "w": 2}, + {"matrix": [2, 3], "x": 5, "y": 3}, + {"matrix": [2, 4], "x": 6, "y": 3, "w": 2}, + {"matrix": [2, 5], "x": 9, "y": 3}, + {"matrix": [2, 6], "x": 10, "y": 3} + ] + } + } +} diff --git a/keyboards/deng/djam/rules.mk b/keyboards/deng/djam/rules.mk deleted file mode 100644 index 150b7c690d..0000000000 --- a/keyboards/deng/djam/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # 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 = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes -- cgit v1.2.3