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/treasure/type9/info.json | 39 --------------------------- keyboards/treasure/type9/keyboard.json | 48 ++++++++++++++++++++++++++++++++++ keyboards/treasure/type9/rules.mk | 12 --------- 3 files changed, 48 insertions(+), 51 deletions(-) delete mode 100644 keyboards/treasure/type9/info.json create mode 100644 keyboards/treasure/type9/keyboard.json delete mode 100644 keyboards/treasure/type9/rules.mk (limited to 'keyboards/treasure') diff --git a/keyboards/treasure/type9/info.json b/keyboards/treasure/type9/info.json deleted file mode 100644 index cab118fc8e..0000000000 --- a/keyboards/treasure/type9/info.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "keyboard_name": "Type-9", - "manufacturer": "Treasure", - "url": "", - "maintainer": "qmk", - "usb": { - "vid": "0xFEED", - "pid": "0x0000", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["D1", "D0", "D4"], - "rows": ["E6", "D7", "C6"] - }, - "diode_direction": "ROW2COL", - "backlight": { - "pin": "B5", - "levels": 10 - }, - "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}, - - {"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/treasure/type9/keyboard.json b/keyboards/treasure/type9/keyboard.json new file mode 100644 index 0000000000..2970c01296 --- /dev/null +++ b/keyboards/treasure/type9/keyboard.json @@ -0,0 +1,48 @@ +{ + "keyboard_name": "Type-9", + "manufacturer": "Treasure", + "url": "", + "maintainer": "qmk", + "usb": { + "vid": "0xFEED", + "pid": "0x0000", + "device_version": "0.0.1" + }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, + "matrix_pins": { + "cols": ["D1", "D0", "D4"], + "rows": ["E6", "D7", "C6"] + }, + "diode_direction": "ROW2COL", + "backlight": { + "pin": "B5", + "levels": 10 + }, + "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}, + + {"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/treasure/type9/rules.mk b/keyboards/treasure/type9/rules.mk deleted file mode 100644 index fab0de3b94..0000000000 --- a/keyboards/treasure/type9/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -- cgit v1.2.3