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/bobpad/info.json | 44 ----------------------------------- keyboards/bobpad/keyboard.json | 53 ++++++++++++++++++++++++++++++++++++++++++ keyboards/bobpad/rules.mk | 14 ----------- 3 files changed, 53 insertions(+), 58 deletions(-) delete mode 100644 keyboards/bobpad/info.json create mode 100644 keyboards/bobpad/keyboard.json delete mode 100644 keyboards/bobpad/rules.mk (limited to 'keyboards/bobpad') diff --git a/keyboards/bobpad/info.json b/keyboards/bobpad/info.json deleted file mode 100644 index eb6a25104b..0000000000 --- a/keyboards/bobpad/info.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "keyboard_name": "bobPad", - "manufacturer": "Desiboards", - "url": "", - "maintainer": "Ananya Kirti", - "usb": { - "vid": "0x416B", - "pid": "0x0002", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["F6", "F5", "F4"], - "rows": ["F7", "B1"] - }, - "diode_direction": "COL2ROW", - "encoder": { - "rotary": [ - {"pin_a": "B3", "pin_b": "B2"} - ] - }, - "indicators": { - "caps_lock": "D0", - "num_lock": "D4", - "scroll_lock": "C6", - "compose": "E6", - "kana": "D7" - }, - "processor": "atmega32u4", - "bootloader": "caterina", - "community_layouts": ["ortho_2x3"], - "layouts": { - "LAYOUT_ortho_2x3": { - "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} - ] - } - } -} diff --git a/keyboards/bobpad/keyboard.json b/keyboards/bobpad/keyboard.json new file mode 100644 index 0000000000..feddbbf222 --- /dev/null +++ b/keyboards/bobpad/keyboard.json @@ -0,0 +1,53 @@ +{ + "keyboard_name": "bobPad", + "manufacturer": "Desiboards", + "url": "", + "maintainer": "Ananya Kirti", + "usb": { + "vid": "0x416B", + "pid": "0x0002", + "device_version": "0.0.1" + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, + "matrix_pins": { + "cols": ["F6", "F5", "F4"], + "rows": ["F7", "B1"] + }, + "diode_direction": "COL2ROW", + "encoder": { + "rotary": [ + {"pin_a": "B3", "pin_b": "B2"} + ] + }, + "indicators": { + "caps_lock": "D0", + "num_lock": "D4", + "scroll_lock": "C6", + "compose": "E6", + "kana": "D7" + }, + "processor": "atmega32u4", + "bootloader": "caterina", + "community_layouts": ["ortho_2x3"], + "layouts": { + "LAYOUT_ortho_2x3": { + "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} + ] + } + } +} diff --git a/keyboards/bobpad/rules.mk b/keyboards/bobpad/rules.mk deleted file mode 100644 index 453f0a34d3..0000000000 --- a/keyboards/bobpad/rules.mk +++ /dev/null @@ -1,14 +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 -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes -- cgit v1.2.3