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/anavi/macropad8/info.json | 58 --------------------------- keyboards/anavi/macropad8/keyboard.json | 69 +++++++++++++++++++++++++++++++++ keyboards/anavi/macropad8/rules.mk | 13 ------- 3 files changed, 69 insertions(+), 71 deletions(-) delete mode 100644 keyboards/anavi/macropad8/info.json create mode 100644 keyboards/anavi/macropad8/keyboard.json delete mode 100644 keyboards/anavi/macropad8/rules.mk (limited to 'keyboards/anavi') diff --git a/keyboards/anavi/macropad8/info.json b/keyboards/anavi/macropad8/info.json deleted file mode 100644 index 63f295069d..0000000000 --- a/keyboards/anavi/macropad8/info.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "keyboard_name": "Macro Pad 8", - "manufacturer": "ANAVI", - "url": "", - "maintainer": "leon-anavi", - "usb": { - "vid": "0xCEEB", - "pid": "0x0001", - "device_version": "0.0.1" - }, - "backlight": { - "driver": "timer", - "pin": "D7", - "breathing": true - }, - "rgblight": { - "hue_steps": 10, - "led_count": 4, - "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": "F4" - }, - "processor": "atmega32u4", - "bootloader": "caterina", - "matrix_pins": { - "direct": [ - ["D4", "F6", "B5", "E6"], - ["F5", "F7", "B4", "C6"] - ] - }, - "layouts": { - "LAYOUT_ortho_2x4": { - "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": 0, "y": 1, "matrix": [1, 0]}, - {"x": 1, "y": 1, "matrix": [1, 1]}, - {"x": 2, "y": 1, "matrix": [1, 2]}, - {"x": 3, "y": 1, "matrix": [1, 3]} - ] - } - } -} diff --git a/keyboards/anavi/macropad8/keyboard.json b/keyboards/anavi/macropad8/keyboard.json new file mode 100644 index 0000000000..d70d3fa047 --- /dev/null +++ b/keyboards/anavi/macropad8/keyboard.json @@ -0,0 +1,69 @@ +{ + "keyboard_name": "Macro Pad 8", + "manufacturer": "ANAVI", + "url": "", + "maintainer": "leon-anavi", + "usb": { + "vid": "0xCEEB", + "pid": "0x0001", + "device_version": "0.0.1" + }, + "backlight": { + "driver": "timer", + "pin": "D7", + "breathing": true + }, + "rgblight": { + "hue_steps": 10, + "led_count": 4, + "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": "F4" + }, + "processor": "atmega32u4", + "bootloader": "caterina", + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "oled": true, + "rgblight": true + }, + "matrix_pins": { + "direct": [ + ["D4", "F6", "B5", "E6"], + ["F5", "F7", "B4", "C6"] + ] + }, + "layouts": { + "LAYOUT_ortho_2x4": { + "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": 0, "y": 1, "matrix": [1, 0]}, + {"x": 1, "y": 1, "matrix": [1, 1]}, + {"x": 2, "y": 1, "matrix": [1, 2]}, + {"x": 3, "y": 1, "matrix": [1, 3]} + ] + } + } +} diff --git a/keyboards/anavi/macropad8/rules.mk b/keyboards/anavi/macropad8/rules.mk deleted file mode 100644 index 63d200481c..0000000000 --- a/keyboards/anavi/macropad8/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 = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. -OLED_ENABLE = yes -- cgit v1.2.3