From 43a122e050647057dbaa16bc50417b9306e00bcc Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sat, 13 Apr 2024 06:31:34 +0100 Subject: Migrate build target markers to keyboard.json - W (#23511) --- keyboards/work_louder/nano/info.json | 96 --------------------------- keyboards/work_louder/nano/keyboard.json | 108 +++++++++++++++++++++++++++++++ keyboards/work_louder/nano/rules.mk | 17 ----- 3 files changed, 108 insertions(+), 113 deletions(-) delete mode 100644 keyboards/work_louder/nano/info.json create mode 100644 keyboards/work_louder/nano/keyboard.json (limited to 'keyboards/work_louder/nano') diff --git a/keyboards/work_louder/nano/info.json b/keyboards/work_louder/nano/info.json deleted file mode 100644 index 61c48b3e80..0000000000 --- a/keyboards/work_louder/nano/info.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "keyboard_name": "Nano Pad", - "manufacturer": "Work Louder", - "url": "https://worklouder.cc/", - "maintainer": "Work Louder", - "usb": { - "vid": "0x574C", - "pid": "0xE6F0", - "device_version": "0.0.1", - "max_power": 100 - }, - "rgb_matrix": { - "animations": { - "alphas_mods": true, - "gradient_up_down": true, - "gradient_left_right": true, - "breathing": true, - "band_sat": true, - "band_val": true, - "band_pinwheel_sat": true, - "band_pinwheel_val": true, - "band_spiral_sat": true, - "band_spiral_val": true, - "cycle_all": true, - "cycle_left_right": true, - "cycle_up_down": true, - "rainbow_moving_chevron": true, - "cycle_out_in": true, - "cycle_out_in_dual": true, - "cycle_pinwheel": true, - "cycle_spiral": true, - "dual_beacon": true, - "rainbow_beacon": true, - "rainbow_pinwheels": true, - "raindrops": true, - "jellybean_raindrops": true, - "hue_breathing": true, - "hue_pendulum": true, - "hue_wave": true, - "pixel_rain": true, - "pixel_flow": true, - "pixel_fractal": true, - "typing_heatmap": true, - "digital_rain": true - }, - "driver": "ws2812", - "max_brightness": 120, - "sleep": true - }, - "matrix_pins": { - "cols": ["B5", "B6", "C6"], - "rows": ["F7"] - }, - "diode_direction": "COL2ROW", - "encoder": { - "rotary": [ - {"pin_a": "D7", "pin_b": "B4"} - ] - }, - "ws2812": { - "pin": "F6" - }, - "rgblight": { - "led_count": 6, - "driver": "custom", - "max_brightness": 120, - "sleep": true, - "animations": { - "breathing": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "knight": true, - "christmas": true, - "static_gradient": true, - "twinkle": true - }, - "default": { - "hue": 170 - } - }, - "bootmagic": { - "matrix": [0, 2] - }, - "processor": "atmega32u4", - "bootloader": "atmel-dfu", - "layouts": { - "LAYOUT": { - "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 1], "x": 1, "y": 0}, - {"matrix": [0, 2], "x": 2, "y": 0} - ] - } - } -} diff --git a/keyboards/work_louder/nano/keyboard.json b/keyboards/work_louder/nano/keyboard.json new file mode 100644 index 0000000000..e15d095de0 --- /dev/null +++ b/keyboards/work_louder/nano/keyboard.json @@ -0,0 +1,108 @@ +{ + "keyboard_name": "Nano Pad", + "manufacturer": "Work Louder", + "url": "https://worklouder.cc/", + "maintainer": "Work Louder", + "usb": { + "vid": "0x574C", + "pid": "0xE6F0", + "device_version": "0.0.1", + "max_power": 100 + }, + "build": { + "lto": true + }, + "features": { + "bootmagic": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true, + "rgblight": true + }, + "rgb_matrix": { + "animations": { + "alphas_mods": true, + "gradient_up_down": true, + "gradient_left_right": true, + "breathing": true, + "band_sat": true, + "band_val": true, + "band_pinwheel_sat": true, + "band_pinwheel_val": true, + "band_spiral_sat": true, + "band_spiral_val": true, + "cycle_all": true, + "cycle_left_right": true, + "cycle_up_down": true, + "rainbow_moving_chevron": true, + "cycle_out_in": true, + "cycle_out_in_dual": true, + "cycle_pinwheel": true, + "cycle_spiral": true, + "dual_beacon": true, + "rainbow_beacon": true, + "rainbow_pinwheels": true, + "raindrops": true, + "jellybean_raindrops": true, + "hue_breathing": true, + "hue_pendulum": true, + "hue_wave": true, + "pixel_rain": true, + "pixel_flow": true, + "pixel_fractal": true, + "typing_heatmap": true, + "digital_rain": true + }, + "driver": "ws2812", + "max_brightness": 120, + "sleep": true + }, + "matrix_pins": { + "cols": ["B5", "B6", "C6"], + "rows": ["F7"] + }, + "diode_direction": "COL2ROW", + "encoder": { + "rotary": [ + {"pin_a": "D7", "pin_b": "B4"} + ] + }, + "ws2812": { + "pin": "F6" + }, + "rgblight": { + "led_count": 6, + "driver": "custom", + "max_brightness": 120, + "sleep": true, + "animations": { + "breathing": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "knight": true, + "christmas": true, + "static_gradient": true, + "twinkle": true + }, + "default": { + "hue": 170 + } + }, + "bootmagic": { + "matrix": [0, 2] + }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0} + ] + } + } +} diff --git a/keyboards/work_louder/nano/rules.mk b/keyboards/work_louder/nano/rules.mk index bcbb4bb31d..e0822c009b 100644 --- a/keyboards/work_louder/nano/rules.mk +++ b/keyboards/work_louder/nano/rules.mk @@ -1,18 +1 @@ -# 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 -ENCODER_ENABLE = yes -LTO_ENABLE = yes - -RGB_MATRIX_ENABLE = yes - SRC += rgb_functions.c -- cgit v1.2.3