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/sergiopoverony/creator_pro/info.json | 38 ----------------- keyboards/sergiopoverony/creator_pro/keyboard.json | 47 ++++++++++++++++++++++ keyboards/sergiopoverony/creator_pro/rules.mk | 13 ------ 3 files changed, 47 insertions(+), 51 deletions(-) delete mode 100644 keyboards/sergiopoverony/creator_pro/info.json create mode 100644 keyboards/sergiopoverony/creator_pro/keyboard.json delete mode 100644 keyboards/sergiopoverony/creator_pro/rules.mk (limited to 'keyboards/sergiopoverony') diff --git a/keyboards/sergiopoverony/creator_pro/info.json b/keyboards/sergiopoverony/creator_pro/info.json deleted file mode 100644 index 4c9143ea07..0000000000 --- a/keyboards/sergiopoverony/creator_pro/info.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "keyboard_name": "Creator Pro", - "manufacturer": "SergioPoverony", - "url": "https://github.com/sergiopoverony", - "maintainer": "SergioPoverony", - "usb": { - "vid": "0x8B1E", - "pid": "0x0C00", - "device_version": "0.0.1" - }, - "encoder": { - "rotary": [ - {"pin_a": "D2", "pin_b": "D3", "resolution": 1} - ] - }, - "processor": "atmega32u4", - "bootloader": "caterina", - "matrix_pins": { - "direct": [ - ["D1", "D4", "C6", "D7", "E6", "B2", "B3", "B1", "F7"] - ] - }, - "layouts": { - "LAYOUT": { - "layout": [ - {"x": 0, "y": 0, "matrix": [0, 0]}, - {"x": 1, "y": 0, "matrix": [0, 1]}, - {"x": 2, "y": 0, "matrix": [0, 2]}, - {"x": 3, "y": 0, "matrix": [0, 3]}, - {"x": 4.5, "y": 0.5, "matrix": [0, 4]}, - {"x": 0, "y": 1, "matrix": [0, 5]}, - {"x": 1, "y": 1, "matrix": [0, 6]}, - {"x": 2, "y": 1, "matrix": [0, 7]}, - {"x": 3, "y": 1, "matrix": [0, 8]} - ] - } - } -} diff --git a/keyboards/sergiopoverony/creator_pro/keyboard.json b/keyboards/sergiopoverony/creator_pro/keyboard.json new file mode 100644 index 0000000000..9b3cafe183 --- /dev/null +++ b/keyboards/sergiopoverony/creator_pro/keyboard.json @@ -0,0 +1,47 @@ +{ + "keyboard_name": "Creator Pro", + "manufacturer": "SergioPoverony", + "url": "https://github.com/sergiopoverony", + "maintainer": "SergioPoverony", + "usb": { + "vid": "0x8B1E", + "pid": "0x0C00", + "device_version": "0.0.1" + }, + "encoder": { + "rotary": [ + {"pin_a": "D2", "pin_b": "D3", "resolution": 1} + ] + }, + "processor": "atmega32u4", + "bootloader": "caterina", + "features": { + "bootmagic": false, + "command": true, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, + "matrix_pins": { + "direct": [ + ["D1", "D4", "C6", "D7", "E6", "B2", "B3", "B1", "F7"] + ] + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"x": 0, "y": 0, "matrix": [0, 0]}, + {"x": 1, "y": 0, "matrix": [0, 1]}, + {"x": 2, "y": 0, "matrix": [0, 2]}, + {"x": 3, "y": 0, "matrix": [0, 3]}, + {"x": 4.5, "y": 0.5, "matrix": [0, 4]}, + {"x": 0, "y": 1, "matrix": [0, 5]}, + {"x": 1, "y": 1, "matrix": [0, 6]}, + {"x": 2, "y": 1, "matrix": [0, 7]}, + {"x": 3, "y": 1, "matrix": [0, 8]} + ] + } + } +} diff --git a/keyboards/sergiopoverony/creator_pro/rules.mk b/keyboards/sergiopoverony/creator_pro/rules.mk deleted file mode 100644 index a7fd1110b2..0000000000 --- a/keyboards/sergiopoverony/creator_pro/rules.mk +++ /dev/null @@ -1,13 +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 = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -- cgit v1.2.3