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/novelkeys/nk1/info.json | 47 ----------------- keyboards/novelkeys/nk1/keyboard.json | 56 ++++++++++++++++++++ keyboards/novelkeys/nk1/rules.mk | 12 ----- keyboards/novelkeys/novelpad/info.json | 74 -------------------------- keyboards/novelkeys/novelpad/keyboard.json | 84 ++++++++++++++++++++++++++++++ keyboards/novelkeys/novelpad/rules.mk | 12 ----- 6 files changed, 140 insertions(+), 145 deletions(-) delete mode 100755 keyboards/novelkeys/nk1/info.json create mode 100755 keyboards/novelkeys/nk1/keyboard.json delete mode 100644 keyboards/novelkeys/nk1/rules.mk delete mode 100644 keyboards/novelkeys/novelpad/info.json create mode 100644 keyboards/novelkeys/novelpad/keyboard.json delete mode 100755 keyboards/novelkeys/novelpad/rules.mk (limited to 'keyboards/novelkeys') diff --git a/keyboards/novelkeys/nk1/info.json b/keyboards/novelkeys/nk1/info.json deleted file mode 100755 index 480bc968c2..0000000000 --- a/keyboards/novelkeys/nk1/info.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "keyboard_name": "NK1", - "manufacturer": "Yiancar-Designs", - "url": "www.yiancar-designs.com", - "maintainer": "yiancar", - "usb": { - "vid": "0x8968", - "pid": "0x4E4D", - "device_version": "0.0.1" - }, - "rgblight": { - "saturation_steps": 8, - "brightness_steps": 8, - "led_count": 9, - "sleep": true, - "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": "F0" - }, - "processor": "atmega32u4", - "bootloader": "atmel-dfu", - "matrix_pins": { - "direct": [ - ["D4"] - ] - }, - "community_layouts": ["ortho_1x1"], - "layouts": { - "LAYOUT_ortho_1x1": { - "layout": [ - {"x": 0, "y": 0, "matrix": [0, 0]} - ] - } - } -} diff --git a/keyboards/novelkeys/nk1/keyboard.json b/keyboards/novelkeys/nk1/keyboard.json new file mode 100755 index 0000000000..0fa15cf9f2 --- /dev/null +++ b/keyboards/novelkeys/nk1/keyboard.json @@ -0,0 +1,56 @@ +{ + "keyboard_name": "NK1", + "manufacturer": "Yiancar-Designs", + "url": "www.yiancar-designs.com", + "maintainer": "yiancar", + "usb": { + "vid": "0x8968", + "pid": "0x4E4D", + "device_version": "0.0.1" + }, + "rgblight": { + "saturation_steps": 8, + "brightness_steps": 8, + "led_count": 9, + "sleep": true, + "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": "F0" + }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, + "matrix_pins": { + "direct": [ + ["D4"] + ] + }, + "community_layouts": ["ortho_1x1"], + "layouts": { + "LAYOUT_ortho_1x1": { + "layout": [ + {"x": 0, "y": 0, "matrix": [0, 0]} + ] + } + } +} diff --git a/keyboards/novelkeys/nk1/rules.mk b/keyboards/novelkeys/nk1/rules.mk deleted file mode 100644 index b851d0ab39..0000000000 --- a/keyboards/novelkeys/nk1/rules.mk +++ /dev/null @@ -1,12 +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 = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/novelkeys/novelpad/info.json b/keyboards/novelkeys/novelpad/info.json deleted file mode 100644 index 1e5f6b4f73..0000000000 --- a/keyboards/novelkeys/novelpad/info.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "keyboard_name": "NovelPad", - "manufacturer": "NovelKeys.xyz", - "url": "", - "maintainer": "qmk", - "usb": { - "vid": "0xFEED", - "pid": "0x6070", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["D7", "D6", "D5", "D4"], - "rows": ["C2", "C4", "C5", "C6", "C7"] - }, - "diode_direction": "COL2ROW", - "backlight": { - "pin": "B7", - "levels": 10 - }, - "rgblight": { - "led_count": 4, - "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": "D3" - }, - "processor": "atmega32u2", - "bootloader": "atmel-dfu", - "community_layouts": ["ortho_5x4"], - "layout_aliases": { - "LAYOUT": "LAYOUT_ortho_5x4" - }, - "layouts": { - "LAYOUT_ortho_5x4": { - "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 1], "x": 1, "y": 0}, - {"matrix": [0, 2], "x": 2, "y": 0}, - {"matrix": [0, 3], "x": 3, "y": 0}, - - {"matrix": [1, 0], "x": 0, "y": 1}, - {"matrix": [1, 1], "x": 1, "y": 1}, - {"matrix": [1, 2], "x": 2, "y": 1}, - {"matrix": [1, 3], "x": 3, "y": 1}, - - {"matrix": [2, 0], "x": 0, "y": 2}, - {"matrix": [2, 1], "x": 1, "y": 2}, - {"matrix": [2, 2], "x": 2, "y": 2}, - {"matrix": [2, 3], "x": 3, "y": 2}, - - {"matrix": [3, 0], "x": 0, "y": 3}, - {"matrix": [3, 1], "x": 1, "y": 3}, - {"matrix": [3, 2], "x": 2, "y": 3}, - {"matrix": [3, 3], "x": 3, "y": 3}, - - {"matrix": [4, 0], "x": 0, "y": 4}, - {"matrix": [4, 1], "x": 1, "y": 4}, - {"matrix": [4, 2], "x": 2, "y": 4}, - {"matrix": [4, 3], "x": 3, "y": 4} - ] - } - } -} diff --git a/keyboards/novelkeys/novelpad/keyboard.json b/keyboards/novelkeys/novelpad/keyboard.json new file mode 100644 index 0000000000..03c76764df --- /dev/null +++ b/keyboards/novelkeys/novelpad/keyboard.json @@ -0,0 +1,84 @@ +{ + "keyboard_name": "NovelPad", + "manufacturer": "NovelKeys.xyz", + "url": "", + "maintainer": "qmk", + "usb": { + "vid": "0xFEED", + "pid": "0x6070", + "device_version": "0.0.1" + }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, + "matrix_pins": { + "cols": ["D7", "D6", "D5", "D4"], + "rows": ["C2", "C4", "C5", "C6", "C7"] + }, + "diode_direction": "COL2ROW", + "backlight": { + "pin": "B7", + "levels": 10 + }, + "rgblight": { + "led_count": 4, + "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": "D3" + }, + "processor": "atmega32u2", + "bootloader": "atmel-dfu", + "community_layouts": ["ortho_5x4"], + "layout_aliases": { + "LAYOUT": "LAYOUT_ortho_5x4" + }, + "layouts": { + "LAYOUT_ortho_5x4": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2, "y": 2}, + {"matrix": [2, 3], "x": 3, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 1], "x": 1, "y": 3}, + {"matrix": [3, 2], "x": 2, "y": 3}, + {"matrix": [3, 3], "x": 3, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4}, + {"matrix": [4, 1], "x": 1, "y": 4}, + {"matrix": [4, 2], "x": 2, "y": 4}, + {"matrix": [4, 3], "x": 3, "y": 4} + ] + } + } +} diff --git a/keyboards/novelkeys/novelpad/rules.mk b/keyboards/novelkeys/novelpad/rules.mk deleted file mode 100755 index 40888f5a30..0000000000 --- a/keyboards/novelkeys/novelpad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # In-switch LEDs -AUDIO_ENABLE = no # There is no available timer or pin for audio on the NovelPad -RGBLIGHT_ENABLE = yes # RGB LEDs for underglow, installed and enabled by default for the NovelPad -- cgit v1.2.3