From 14990ca5a2d444aa8db62b8faadf11bd5b8b8d75 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 15 Mar 2024 22:24:10 +0000 Subject: Migrate features from rules.mk to data driven - ST (#23286) --- keyboards/shk9/info.json | 35 ----------------------------------- keyboards/shk9/keyboard.json | 43 +++++++++++++++++++++++++++++++++++++++++++ keyboards/shk9/rules.mk | 12 ------------ 3 files changed, 43 insertions(+), 47 deletions(-) delete mode 100644 keyboards/shk9/info.json create mode 100644 keyboards/shk9/keyboard.json delete mode 100644 keyboards/shk9/rules.mk (limited to 'keyboards/shk9') diff --git a/keyboards/shk9/info.json b/keyboards/shk9/info.json deleted file mode 100644 index 5974ce3703..0000000000 --- a/keyboards/shk9/info.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "keyboard_name": "SHK9", - "manufacturer": "Superhuman", - "url": "http://superhuman.website", - "maintainer": "Sam Hudson", - "usb": { - "vid": "0x5348", - "pid": "0x4B39", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["B3", "B4", "B5"], - "rows": ["B0", "B1", "B2"] - }, - "diode_direction": "COL2ROW", - "processor": "atmega32u4", - "bootloader": "atmel-dfu", - "layouts": { - "LAYOUT_ortho_3x3": { - "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} - ] - } - } -} diff --git a/keyboards/shk9/keyboard.json b/keyboards/shk9/keyboard.json new file mode 100644 index 0000000000..19c30ec08d --- /dev/null +++ b/keyboards/shk9/keyboard.json @@ -0,0 +1,43 @@ +{ + "keyboard_name": "SHK9", + "manufacturer": "Superhuman", + "url": "http://superhuman.website", + "maintainer": "Sam Hudson", + "usb": { + "vid": "0x5348", + "pid": "0x4B39", + "device_version": "0.0.1" + }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["B3", "B4", "B5"], + "rows": ["B0", "B1", "B2"] + }, + "diode_direction": "COL2ROW", + "processor": "atmega32u4", + "bootloader": "atmel-dfu", + "layouts": { + "LAYOUT_ortho_3x3": { + "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} + ] + } + } +} diff --git a/keyboards/shk9/rules.mk b/keyboards/shk9/rules.mk deleted file mode 100644 index ab9ede1716..0000000000 --- a/keyboards/shk9/rules.mk +++ /dev/null @@ -1,12 +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 = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -- cgit v1.2.3