Browse Source

0xcb/splaytoraid: remove `CONVERT_TO` at keyboard level (#23395)

Ryan 2 years ago
parent
commit
05731202a2

+ 27 - 0
keyboards/0xcb/splaytoraid/32u4/keyboard.json

@@ -0,0 +1,27 @@
+{
+    "development_board": "promicro",
+    "bootloader": "qmk-dfu",
+    "matrix_pins": {
+        "cols": ["F5", "F6", "F7", "F4", "B3", "B1", "B2"],
+        "rows": ["D3", "D2", "D1", "D4", "D7", "E6", "B4", "C6"]
+    },
+    "diode_direction": "COL2ROW",
+    "rgb_matrix": {
+        "animations": {
+            "band_sat": true,
+            "band_spiral_val": true,
+            "breathing": true,
+            "cycle_all": true,
+            "cycle_left_right": true,
+            "raindrops": true
+        }
+    },
+    "encoder": {
+        "rotary": [
+            {"pin_a": "B5", "pin_b": "B6"}
+        ]
+    },
+    "ws2812": {
+        "pin": "D0"
+    }
+}

+ 0 - 0
keyboards/0xcb/splaytoraid/32u4/rules.mk


+ 2 - 25
keyboards/0xcb/splaytoraid/info.json

@@ -3,13 +3,6 @@
     "keyboard_name": "splaytoraid",
     "maintainer": "freya-irl",
     "url": "https://github.com/freya-irl/splaytoraid40",
-    "development_board": "promicro",
-    "bootloader": "qmk-dfu",
-    "diode_direction": "COL2ROW",
-    "matrix_pins": {
-        "cols": ["F5", "F6", "F7", "F4", "B3", "B1", "B2"],
-        "rows": ["D3", "D2", "D1", "D4", "D7", "E6", "B4", "C6"]
-    },
     "usb": {
         "device_version": "1.0.0",
         "pid": "0xCB00",
@@ -21,7 +14,8 @@
         "bootmagic": true,
         "console": true,
         "mousekey": true,
-        "nkro": true
+        "nkro": true,
+        "encoder": true
     },
     "bootmagic": {
         "matrix": [1, 0]
@@ -29,21 +23,7 @@
     "build": {
         "lto": true
     },
-    "encoder": {
-        "enabled": true,
-        "rotary": [
-            {"pin_a": "B5", "pin_b": "B6", "resolution": 4}
-        ]
-    },
     "rgb_matrix": {
-        "animations": {
-            "breathing": true,
-            "band_sat": true,
-            "band_spiral_val": true,
-            "cycle_all": true,
-            "raindrops": true,
-            "cycle_left_right": true
-        },
         "default": {
             "animation": "breathing",
             "hue": 152,
@@ -73,9 +53,6 @@
         ],
         "max_brightness": 200
     },
-    "ws2812": {
-        "pin": "D0"
-    },
     "layouts": {
         "LAYOUT_36": {
             "layout": [

+ 28 - 10
keyboards/0xcb/splaytoraid/rp2040_ce/info.json → keyboards/0xcb/splaytoraid/rp2040_ce/keyboard.json

@@ -1,26 +1,44 @@
 {
+    "development_board": "promicro_rp2040",
+    "matrix_pins": {
+        "cols": ["GP28", "GP27", "GP26", "GP29", "GP20", "GP22", "GP23"],
+        "rows": ["GP0", "GP1", "GP2", "GP4", "GP6", "GP7", "GP8", "GP5"]
+    },
+    "diode_direction": "COL2ROW",
     "rgb_matrix": {
         "animations": {
-            "cycle_up_down": true,
-            "jellybean_raindrops": true,
+            "band_sat": true,
+            "band_spiral_val": true,
+            "breathing": true,
+            "cycle_all": true,
+            "cycle_left_right": true,
             "cycle_out_in": true,
             "cycle_out_in_dual": true,
-            "pixel_fractal": true,
-            "rainbow_moving_chevron": true,
             "cycle_pinwheel": true,
-            "pixel_rain": true,
+            "cycle_up_down": true,
+            "digital_rain": true,
             "dual_beacon": true,
             "hue_breathing": true,
-            "typing_heatmap": true,
-            "digital_rain": true,
-            "solid_reactive_simple": true,
+            "jellybean_raindrops": true,
+            "multisplash": true,
+            "pixel_fractal": true,
+            "pixel_rain": true,
+            "rainbow_moving_chevron": true,
+            "raindrops": true,
             "solid_reactive": true,
+            "solid_reactive_simple": true,
+            "solid_splash": true,
             "splash": true,
-            "multisplash": true,
-            "solid_splash": true
+            "typing_heatmap": true
         }
     },
+    "encoder": {
+        "rotary": [
+            {"pin_a": "GP9", "pin_b": "GP21"}
+        ]
+    },
     "ws2812": {
+        "pin": "GP3",
         "driver": "vendor"
     }
 }

+ 0 - 1
keyboards/0xcb/splaytoraid/rp2040_ce/rules.mk

@@ -1 +0,0 @@
-CONVERT_TO = rp2040_ce