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/rate/pistachio_mp/info.json | 60 -------------------------- keyboards/rate/pistachio_mp/keyboard.json | 70 +++++++++++++++++++++++++++++++ keyboards/rate/pistachio_mp/rules.mk | 13 ------ 3 files changed, 70 insertions(+), 73 deletions(-) delete mode 100644 keyboards/rate/pistachio_mp/info.json create mode 100644 keyboards/rate/pistachio_mp/keyboard.json delete mode 100644 keyboards/rate/pistachio_mp/rules.mk (limited to 'keyboards/rate') diff --git a/keyboards/rate/pistachio_mp/info.json b/keyboards/rate/pistachio_mp/info.json deleted file mode 100644 index a37b55b6ab..0000000000 --- a/keyboards/rate/pistachio_mp/info.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "keyboard_name": "pistachio_mp", - "manufacturer": "rate", - "url": "", - "maintainer": "rate", - "usb": { - "vid": "0x5255", - "pid": "0xE212", - "device_version": "0.0.1", - "force_nkro": true - }, - "rgblight": { - "hue_steps": 10, - "led_count": 3 - }, - "ws2812": { - "pin": "D2" - }, - "matrix_pins": { - "cols": ["B3", "B1", "F7", "F6"], - "rows": ["B4", "E6", "D7", "C6", "D4"] - }, - "diode_direction": "ROW2COL", - "encoder": { - "rotary": [ - {"pin_a": "F4", "pin_b": "F5"} - ] - }, - "processor": "atmega32u4", - "bootloader": "caterina", - "layouts": { - "LAYOUT": { - "layout": [ - {"matrix": [1, 3], "x": 3, "y": 0}, - - {"matrix": [0, 0], "x": 0, "y": 1.5}, - {"matrix": [0, 1], "x": 1, "y": 1.5}, - {"matrix": [0, 2], "x": 2, "y": 1.5}, - {"matrix": [0, 3], "x": 3, "y": 1.5}, - - {"matrix": [1, 0], "x": 0, "y": 2.5}, - {"matrix": [1, 1], "x": 1, "y": 2.5}, - {"matrix": [1, 2], "x": 2, "y": 2.5}, - - {"matrix": [2, 0], "x": 0, "y": 3.5}, - {"matrix": [2, 1], "x": 1, "y": 3.5}, - {"matrix": [2, 2], "x": 2, "y": 3.5}, - {"matrix": [2, 3], "x": 3, "y": 2.5, "h": 2}, - - {"matrix": [3, 0], "x": 0, "y": 4.5}, - {"matrix": [3, 1], "x": 1, "y": 4.5}, - {"matrix": [3, 2], "x": 2, "y": 4.5}, - - {"matrix": [4, 0], "x": 0, "y": 5.5, "w": 2}, - {"matrix": [4, 2], "x": 2, "y": 5.5}, - {"matrix": [4, 3], "x": 3, "y": 4.5, "h": 2} - ] - } - } -} diff --git a/keyboards/rate/pistachio_mp/keyboard.json b/keyboards/rate/pistachio_mp/keyboard.json new file mode 100644 index 0000000000..613f7bb8fa --- /dev/null +++ b/keyboards/rate/pistachio_mp/keyboard.json @@ -0,0 +1,70 @@ +{ + "keyboard_name": "pistachio_mp", + "manufacturer": "rate", + "url": "", + "maintainer": "rate", + "usb": { + "vid": "0x5255", + "pid": "0xE212", + "device_version": "0.0.1", + "force_nkro": true + }, + "rgblight": { + "hue_steps": 10, + "led_count": 3 + }, + "ws2812": { + "pin": "D2" + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, + "matrix_pins": { + "cols": ["B3", "B1", "F7", "F6"], + "rows": ["B4", "E6", "D7", "C6", "D4"] + }, + "diode_direction": "ROW2COL", + "encoder": { + "rotary": [ + {"pin_a": "F4", "pin_b": "F5"} + ] + }, + "processor": "atmega32u4", + "bootloader": "caterina", + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [1, 3], "x": 3, "y": 0}, + + {"matrix": [0, 0], "x": 0, "y": 1.5}, + {"matrix": [0, 1], "x": 1, "y": 1.5}, + {"matrix": [0, 2], "x": 2, "y": 1.5}, + {"matrix": [0, 3], "x": 3, "y": 1.5}, + + {"matrix": [1, 0], "x": 0, "y": 2.5}, + {"matrix": [1, 1], "x": 1, "y": 2.5}, + {"matrix": [1, 2], "x": 2, "y": 2.5}, + + {"matrix": [2, 0], "x": 0, "y": 3.5}, + {"matrix": [2, 1], "x": 1, "y": 3.5}, + {"matrix": [2, 2], "x": 2, "y": 3.5}, + {"matrix": [2, 3], "x": 3, "y": 2.5, "h": 2}, + + {"matrix": [3, 0], "x": 0, "y": 4.5}, + {"matrix": [3, 1], "x": 1, "y": 4.5}, + {"matrix": [3, 2], "x": 2, "y": 4.5}, + + {"matrix": [4, 0], "x": 0, "y": 5.5, "w": 2}, + {"matrix": [4, 2], "x": 2, "y": 5.5}, + {"matrix": [4, 3], "x": 3, "y": 4.5, "h": 2} + ] + } + } +} diff --git a/keyboards/rate/pistachio_mp/rules.mk b/keyboards/rate/pistachio_mp/rules.mk deleted file mode 100644 index c5c4d8f35f..0000000000 --- a/keyboards/rate/pistachio_mp/rules.mk +++ /dev/null @@ -1,13 +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 = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -- cgit v1.2.3