From 1a903372846f24028431d20bc25e64b4da69da27 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 15 Mar 2024 22:24:00 +0000 Subject: Migrate features from rules.mk to data driven - OPQR (#23285) --- keyboards/puck/info.json | 39 ------------------------------------ keyboards/puck/keyboard.json | 47 ++++++++++++++++++++++++++++++++++++++++++++ keyboards/puck/rules.mk | 12 ----------- 3 files changed, 47 insertions(+), 51 deletions(-) delete mode 100644 keyboards/puck/info.json create mode 100644 keyboards/puck/keyboard.json delete mode 100644 keyboards/puck/rules.mk (limited to 'keyboards/puck') diff --git a/keyboards/puck/info.json b/keyboards/puck/info.json deleted file mode 100644 index c32c4f8c0f..0000000000 --- a/keyboards/puck/info.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "keyboard_name": "Puck", - "manufacturer": "OkKeebs LLC", - "url": "", - "maintainer": "john-pettigrew", - "usb": { - "vid": "0xFEED", - "pid": "0x6060", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["B4", "D7", "D6"], - "rows": ["D2", "D3", "C6", "C7"] - }, - "diode_direction": "ROW2COL", - "processor": "atmega32u4", - "bootloader": "halfkay", - "layouts": { - "LAYOUT": { - "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 1], "x": 1, "y": 0}, - {"matrix": [0, 2], "x": 2, "y": 0}, - - {"matrix": [1, 0], "x": 0, "y": 1}, - {"matrix": [1, 1], "x": 1, "y": 1}, - {"matrix": [1, 2], "x": 2, "y": 1}, - - {"matrix": [2, 0], "x": 0, "y": 2}, - {"matrix": [2, 1], "x": 1, "y": 2}, - {"matrix": [2, 2], "x": 2, "y": 2}, - - {"matrix": [3, 0], "x": 0, "y": 3}, - {"matrix": [3, 1], "x": 1, "y": 3}, - {"matrix": [3, 2], "x": 2, "y": 3} - ] - } - } -} diff --git a/keyboards/puck/keyboard.json b/keyboards/puck/keyboard.json new file mode 100644 index 0000000000..1ee73dc437 --- /dev/null +++ b/keyboards/puck/keyboard.json @@ -0,0 +1,47 @@ +{ + "keyboard_name": "Puck", + "manufacturer": "OkKeebs LLC", + "url": "", + "maintainer": "john-pettigrew", + "usb": { + "vid": "0xFEED", + "pid": "0x6060", + "device_version": "0.0.1" + }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, + "matrix_pins": { + "cols": ["B4", "D7", "D6"], + "rows": ["D2", "D3", "C6", "C7"] + }, + "diode_direction": "ROW2COL", + "processor": "atmega32u4", + "bootloader": "halfkay", + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 1], "x": 1, "y": 3}, + {"matrix": [3, 2], "x": 2, "y": 3} + ] + } + } +} diff --git a/keyboards/puck/rules.mk b/keyboards/puck/rules.mk deleted file mode 100644 index c271aa0f06..0000000000 --- a/keyboards/puck/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 = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. -- cgit v1.2.3