From cb81913d18fd567cb2dbadcd9a5c5c767f75ba60 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Thu, 11 Apr 2024 14:21:32 -0700 Subject: Data-Driven Keyboard Conversions: B (#23425) Converts configuration definitions and rules to data-driven where applicable. Renames `info.json` to `keyboard.json` in instances where `rules.mk` can be safely deleted. Affects: - `bacca70` - `baguette` - `baion_808` - `bajjak` - `bandominedoni` - `bantam44` - `barleycorn_smd` - `barracuda` - `basekeys/slice/rev1` - `basekeys/slice/rev1_rgb` - `basekeys/trifecta` - `basketweave` - `bastardkb/dilemma/4x6_4` - `bbrfkr/dynamis` - `bear_face` - `beatervan` - `bemeier/bmek` - `biacco42/ergo42` - `biacco42/meishi` - `biacco42/meishi2` - `binepad/bn003` - `binepad/bn009/r1` - `binepad/bnr1` - `bioi/g60` - `bioi/g60ble` - `bioi/morgan65` - `bioi/s65` - `blackplum` - `blank/blank01` - `blank_tehnologii/manibus` - `blockey` - `bluebell/swoop` - `boardrun/bizarre` - `boardrun/classic` - `boardsource/equals/48` - `boardsource/equals/60` - `boardwalk` - `bop` - `boston` - `boston_meetup/2019` - `box75` - `bpiphany/four_banger` - `bpiphany/frosty_flake` - `bpiphany/ghost_squid` - `bpiphany/hid_liber` - `bpiphany/kitten_paw` - `bpiphany/tiger_lily` - `bpiphany/unloved_bastard` - `bt66tech/bt66tech60` - `bubble75/hotswap` - `budgy` - `buildakb/potato65` - `buildakb/potato65hs` - `buildakb/potato65s` - `buzzard` --- keyboards/bluebell/swoop/info.json | 99 ------------------------------ keyboards/bluebell/swoop/keyboard.json | 106 +++++++++++++++++++++++++++++++++ keyboards/bluebell/swoop/rules.mk | 11 ---- 3 files changed, 106 insertions(+), 110 deletions(-) delete mode 100644 keyboards/bluebell/swoop/info.json create mode 100644 keyboards/bluebell/swoop/keyboard.json delete mode 100644 keyboards/bluebell/swoop/rules.mk (limited to 'keyboards/bluebell/swoop') diff --git a/keyboards/bluebell/swoop/info.json b/keyboards/bluebell/swoop/info.json deleted file mode 100644 index 52c859c154..0000000000 --- a/keyboards/bluebell/swoop/info.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "keyboard_name": "Swoop", - "url": "https://github.com/jimmerricks/swoop", - "maintainer": "jmnw", - "manufacturer": "jmnw", - "usb": { - "vid": "0x1804", - "pid": "0x3046", - "device_version": "1.0.0" - }, - "ws2812": { - "pin": "D3" - }, - "rgblight": { - "hue_steps": 10, - "led_count": 36, - "max_brightness": 150, - "sleep": true, - "split_count": [18, 18], - "animations": { - "breathing": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "static_gradient": true - } - }, - "matrix_pins": { - "cols": ["B1", "F7", "F6", "F5", "F4"], - "rows": ["D4", "C6", "D7", "E6"] - }, - "diode_direction": "COL2ROW", - "encoder": { - "rotary": [ - {"pin_a": "B4", "pin_b": "B5"} - ] - }, - "split": { - "soft_serial_pin": "D2", - "encoder": { - "right": { - "rotary": [ - {"pin_a": "B5", "pin_b": "B4"} - ] - } - } - }, - "processor": "atmega32u4", - "bootloader": "caterina", - "community_layouts": ["split_3x5_3"], - "layouts": { - "LAYOUT_split_3x5_3": { - "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0.375}, - {"matrix": [0, 1], "x": 1, "y": 0.125}, - {"matrix": [0, 2], "x": 2, "y": 0}, - {"matrix": [0, 3], "x": 3, "y": 0.125}, - {"matrix": [0, 4], "x": 4, "y": 0.25}, - - {"matrix": [4, 4], "x": 8, "y": 0.25}, - {"matrix": [4, 3], "x": 9, "y": 0.125}, - {"matrix": [4, 2], "x": 10, "y": 0}, - {"matrix": [4, 1], "x": 11, "y": 0.125}, - {"matrix": [4, 0], "x": 12, "y": 0.375}, - - {"matrix": [1, 0], "x": 0, "y": 1.375}, - {"matrix": [1, 1], "x": 1, "y": 1.125}, - {"matrix": [1, 2], "x": 2, "y": 1}, - {"matrix": [1, 3], "x": 3, "y": 1.125}, - {"matrix": [1, 4], "x": 4, "y": 1.25}, - - {"matrix": [5, 4], "x": 8, "y": 1.25}, - {"matrix": [5, 3], "x": 9, "y": 1.125}, - {"matrix": [5, 2], "x": 10, "y": 1}, - {"matrix": [5, 1], "x": 11, "y": 1.125}, - {"matrix": [5, 0], "x": 12, "y": 1.375}, - - {"matrix": [2, 0], "x": 0, "y": 2.375}, - {"matrix": [2, 1], "x": 1, "y": 2.125}, - {"matrix": [2, 2], "x": 2, "y": 2}, - {"matrix": [2, 3], "x": 3, "y": 2.125}, - {"matrix": [2, 4], "x": 4, "y": 2.25}, - - {"matrix": [6, 4], "x": 8, "y": 2.25}, - {"matrix": [6, 3], "x": 9, "y": 2.125}, - {"matrix": [6, 2], "x": 10, "y": 2}, - {"matrix": [6, 1], "x": 11, "y": 2.125}, - {"matrix": [6, 0], "x": 12, "y": 2.375}, - - {"matrix": [3, 2], "x": 2.875, "y": 3.25}, - {"matrix": [3, 3], "x": 4, "y": 3.375}, - {"matrix": [3, 4], "x": 5.125, "y": 3.625}, - - {"matrix": [7, 4], "x": 6.875, "y": 3.625}, - {"matrix": [7, 3], "x": 8, "y": 3.375}, - {"matrix": [7, 2], "x": 9.125, "y": 3.25} - ] - } - } -} diff --git a/keyboards/bluebell/swoop/keyboard.json b/keyboards/bluebell/swoop/keyboard.json new file mode 100644 index 0000000000..5cc29818b8 --- /dev/null +++ b/keyboards/bluebell/swoop/keyboard.json @@ -0,0 +1,106 @@ +{ + "keyboard_name": "Swoop", + "url": "https://github.com/jimmerricks/swoop", + "maintainer": "jmnw", + "manufacturer": "jmnw", + "usb": { + "vid": "0x1804", + "pid": "0x3046", + "device_version": "1.0.0" + }, + "features": { + "bootmagic": true, + "mousekey": true, + "extrakey": true, + "rgblight": true + }, + "ws2812": { + "pin": "D3" + }, + "rgblight": { + "hue_steps": 10, + "led_count": 36, + "max_brightness": 150, + "sleep": true, + "split_count": [18, 18], + "animations": { + "breathing": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "static_gradient": true + } + }, + "matrix_pins": { + "cols": ["B1", "F7", "F6", "F5", "F4"], + "rows": ["D4", "C6", "D7", "E6"] + }, + "diode_direction": "COL2ROW", + "encoder": { + "rotary": [ + {"pin_a": "B4", "pin_b": "B5"} + ] + }, + "split": { + "enabled": true, + "soft_serial_pin": "D2", + "encoder": { + "right": { + "rotary": [ + {"pin_a": "B5", "pin_b": "B4"} + ] + } + } + }, + "processor": "atmega32u4", + "bootloader": "caterina", + "community_layouts": ["split_3x5_3"], + "layouts": { + "LAYOUT_split_3x5_3": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0.375}, + {"matrix": [0, 1], "x": 1, "y": 0.125}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0.125}, + {"matrix": [0, 4], "x": 4, "y": 0.25}, + + {"matrix": [4, 4], "x": 8, "y": 0.25}, + {"matrix": [4, 3], "x": 9, "y": 0.125}, + {"matrix": [4, 2], "x": 10, "y": 0}, + {"matrix": [4, 1], "x": 11, "y": 0.125}, + {"matrix": [4, 0], "x": 12, "y": 0.375}, + + {"matrix": [1, 0], "x": 0, "y": 1.375}, + {"matrix": [1, 1], "x": 1, "y": 1.125}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1.125}, + {"matrix": [1, 4], "x": 4, "y": 1.25}, + + {"matrix": [5, 4], "x": 8, "y": 1.25}, + {"matrix": [5, 3], "x": 9, "y": 1.125}, + {"matrix": [5, 2], "x": 10, "y": 1}, + {"matrix": [5, 1], "x": 11, "y": 1.125}, + {"matrix": [5, 0], "x": 12, "y": 1.375}, + + {"matrix": [2, 0], "x": 0, "y": 2.375}, + {"matrix": [2, 1], "x": 1, "y": 2.125}, + {"matrix": [2, 2], "x": 2, "y": 2}, + {"matrix": [2, 3], "x": 3, "y": 2.125}, + {"matrix": [2, 4], "x": 4, "y": 2.25}, + + {"matrix": [6, 4], "x": 8, "y": 2.25}, + {"matrix": [6, 3], "x": 9, "y": 2.125}, + {"matrix": [6, 2], "x": 10, "y": 2}, + {"matrix": [6, 1], "x": 11, "y": 2.125}, + {"matrix": [6, 0], "x": 12, "y": 2.375}, + + {"matrix": [3, 2], "x": 2.875, "y": 3.25}, + {"matrix": [3, 3], "x": 4, "y": 3.375}, + {"matrix": [3, 4], "x": 5.125, "y": 3.625}, + + {"matrix": [7, 4], "x": 6.875, "y": 3.625}, + {"matrix": [7, 3], "x": 8, "y": 3.375}, + {"matrix": [7, 2], "x": 9.125, "y": 3.25} + ] + } + } +} diff --git a/keyboards/bluebell/swoop/rules.mk b/keyboards/bluebell/swoop/rules.mk deleted file mode 100644 index fc87c61404..0000000000 --- a/keyboards/bluebell/swoop/rules.mk +++ /dev/null @@ -1,11 +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 = no # Enable N-Key Rollover -RGBLIGHT_ENABLE = yes # Enable underlight -SPLIT_KEYBOARD = yes -- cgit v1.2.3