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/tgr/tris/info.json | 108 ----------------------------------- keyboards/tgr/tris/keyboard.json | 118 +++++++++++++++++++++++++++++++++++++++ keyboards/tgr/tris/rules.mk | 10 ---- 3 files changed, 118 insertions(+), 118 deletions(-) delete mode 100644 keyboards/tgr/tris/info.json create mode 100644 keyboards/tgr/tris/keyboard.json delete mode 100644 keyboards/tgr/tris/rules.mk (limited to 'keyboards/tgr/tris') diff --git a/keyboards/tgr/tris/info.json b/keyboards/tgr/tris/info.json deleted file mode 100644 index f7577757d9..0000000000 --- a/keyboards/tgr/tris/info.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "keyboard_name": "Tris", - "manufacturer": "TGR", - "url": "", - "maintainer": "halfenergized", - "usb": { - "vid": "0x5447", - "pid": "0x5452", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["A3", "A2", "A1", "A0"], - "rows": ["B0", "B1", "B2", "B3", "B4", "B5"] - }, - "diode_direction": "COL2ROW", - "backlight": { - "pin": "D4" - }, - "rgblight": { - "led_count": 6, - "animations": { - "breathing": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "knight": true, - "christmas": true, - "static_gradient": true, - "rgb_test": true, - "alternating": true, - "twinkle": true - } - }, - "ws2812": { - "driver": "i2c" - }, - "indicators": { - "num_lock": "D0" - }, - "processor": "atmega32a", - "bootloader": "bootloadhid", - "community_layouts": ["numpad_6x4", "ortho_6x4"], - "layouts": { - "LAYOUT_ortho_6x4": { - "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 1], "x": 1, "y": 0}, - {"matrix": [0, 2], "x": 2, "y": 0}, - {"matrix": [0, 3], "x": 3, "y": 0}, - - {"matrix": [1, 0], "x": 0, "y": 1.25}, - {"matrix": [1, 1], "x": 1, "y": 1.25}, - {"matrix": [1, 2], "x": 2, "y": 1.25}, - {"matrix": [1, 3], "x": 3, "y": 1.25}, - - {"matrix": [2, 0], "x": 0, "y": 2.25}, - {"matrix": [2, 1], "x": 1, "y": 2.25}, - {"matrix": [2, 2], "x": 2, "y": 2.25}, - {"matrix": [2, 3], "x": 3, "y": 2.25}, - - {"matrix": [3, 0], "x": 0, "y": 3.25}, - {"matrix": [3, 1], "x": 1, "y": 3.25}, - {"matrix": [3, 2], "x": 2, "y": 3.25}, - {"matrix": [3, 3], "x": 3, "y": 3.25}, - - {"matrix": [4, 0], "x": 0, "y": 4.25}, - {"matrix": [4, 1], "x": 1, "y": 4.25}, - {"matrix": [4, 2], "x": 2, "y": 4.25}, - {"matrix": [4, 3], "x": 3, "y": 4.25}, - - {"matrix": [5, 0], "x": 0, "y": 5.25}, - {"matrix": [5, 1], "x": 1, "y": 5.25}, - {"matrix": [5, 2], "x": 2, "y": 5.25}, - {"matrix": [5, 3], "x": 3, "y": 5.25} - ] - }, - "LAYOUT_numpad_6x4": { - "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 1], "x": 1, "y": 0}, - {"matrix": [0, 2], "x": 2, "y": 0}, - {"matrix": [0, 3], "x": 3, "y": 0}, - - {"matrix": [1, 0], "x": 0, "y": 1.25}, - {"matrix": [1, 1], "x": 1, "y": 1.25}, - {"matrix": [1, 2], "x": 2, "y": 1.25}, - {"matrix": [1, 3], "x": 3, "y": 1.25}, - - {"matrix": [2, 0], "x": 0, "y": 2.25}, - {"matrix": [2, 1], "x": 1, "y": 2.25}, - {"matrix": [2, 2], "x": 2, "y": 2.25}, - - {"matrix": [3, 0], "x": 0, "y": 3.25}, - {"matrix": [3, 1], "x": 1, "y": 3.25}, - {"matrix": [3, 2], "x": 2, "y": 3.25}, - {"matrix": [3, 3], "x": 3, "y": 2.25, "h": 2}, - - {"matrix": [4, 0], "x": 0, "y": 4.25}, - {"matrix": [4, 1], "x": 1, "y": 4.25}, - {"matrix": [4, 2], "x": 2, "y": 4.25}, - - {"matrix": [5, 0], "x": 0, "y": 5.25, "w": 2}, - {"matrix": [5, 2], "x": 2, "y": 5.25}, - {"matrix": [4, 3], "x": 3, "y": 4.25, "h": 2} - ] - } - } -} diff --git a/keyboards/tgr/tris/keyboard.json b/keyboards/tgr/tris/keyboard.json new file mode 100644 index 0000000000..7776c7b2c9 --- /dev/null +++ b/keyboards/tgr/tris/keyboard.json @@ -0,0 +1,118 @@ +{ + "keyboard_name": "Tris", + "manufacturer": "TGR", + "url": "", + "maintainer": "halfenergized", + "usb": { + "vid": "0x5447", + "pid": "0x5452", + "device_version": "0.0.1" + }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, + "matrix_pins": { + "cols": ["A3", "A2", "A1", "A0"], + "rows": ["B0", "B1", "B2", "B3", "B4", "B5"] + }, + "diode_direction": "COL2ROW", + "backlight": { + "pin": "D4" + }, + "rgblight": { + "led_count": 6, + "animations": { + "breathing": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "knight": true, + "christmas": true, + "static_gradient": true, + "rgb_test": true, + "alternating": true, + "twinkle": true + } + }, + "ws2812": { + "driver": "i2c" + }, + "indicators": { + "num_lock": "D0" + }, + "processor": "atmega32a", + "bootloader": "bootloadhid", + "community_layouts": ["numpad_6x4", "ortho_6x4"], + "layouts": { + "LAYOUT_ortho_6x4": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1.25}, + {"matrix": [1, 1], "x": 1, "y": 1.25}, + {"matrix": [1, 2], "x": 2, "y": 1.25}, + {"matrix": [1, 3], "x": 3, "y": 1.25}, + + {"matrix": [2, 0], "x": 0, "y": 2.25}, + {"matrix": [2, 1], "x": 1, "y": 2.25}, + {"matrix": [2, 2], "x": 2, "y": 2.25}, + {"matrix": [2, 3], "x": 3, "y": 2.25}, + + {"matrix": [3, 0], "x": 0, "y": 3.25}, + {"matrix": [3, 1], "x": 1, "y": 3.25}, + {"matrix": [3, 2], "x": 2, "y": 3.25}, + {"matrix": [3, 3], "x": 3, "y": 3.25}, + + {"matrix": [4, 0], "x": 0, "y": 4.25}, + {"matrix": [4, 1], "x": 1, "y": 4.25}, + {"matrix": [4, 2], "x": 2, "y": 4.25}, + {"matrix": [4, 3], "x": 3, "y": 4.25}, + + {"matrix": [5, 0], "x": 0, "y": 5.25}, + {"matrix": [5, 1], "x": 1, "y": 5.25}, + {"matrix": [5, 2], "x": 2, "y": 5.25}, + {"matrix": [5, 3], "x": 3, "y": 5.25} + ] + }, + "LAYOUT_numpad_6x4": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1.25}, + {"matrix": [1, 1], "x": 1, "y": 1.25}, + {"matrix": [1, 2], "x": 2, "y": 1.25}, + {"matrix": [1, 3], "x": 3, "y": 1.25}, + + {"matrix": [2, 0], "x": 0, "y": 2.25}, + {"matrix": [2, 1], "x": 1, "y": 2.25}, + {"matrix": [2, 2], "x": 2, "y": 2.25}, + + {"matrix": [3, 0], "x": 0, "y": 3.25}, + {"matrix": [3, 1], "x": 1, "y": 3.25}, + {"matrix": [3, 2], "x": 2, "y": 3.25}, + {"matrix": [3, 3], "x": 3, "y": 2.25, "h": 2}, + + {"matrix": [4, 0], "x": 0, "y": 4.25}, + {"matrix": [4, 1], "x": 1, "y": 4.25}, + {"matrix": [4, 2], "x": 2, "y": 4.25}, + + {"matrix": [5, 0], "x": 0, "y": 5.25, "w": 2}, + {"matrix": [5, 2], "x": 2, "y": 5.25}, + {"matrix": [4, 3], "x": 3, "y": 4.25, "h": 2} + ] + } + } +} diff --git a/keyboards/tgr/tris/rules.mk b/keyboards/tgr/tris/rules.mk deleted file mode 100644 index 51df0b642e..0000000000 --- a/keyboards/tgr/tris/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes -- cgit v1.2.3