summary refs log tree commit diff
path: root/keyboards/soda
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-06 18:00:54 +1000
committerGitHub <noreply@github.com>2023-04-06 18:00:54 +1000
commit47966dc2a65c88ac90fcd64d12243d72f3f6753b (patch)
treed2f54974c74f66bf11565a64381ea8834f49d481 /keyboards/soda
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/soda')
-rw-r--r--keyboards/soda/cherish/config.h1
-rw-r--r--keyboards/soda/cherish/info.json3
-rw-r--r--keyboards/soda/pocket/config.h2
-rw-r--r--keyboards/soda/pocket/info.json3
4 files changed, 6 insertions, 3 deletions
diff --git a/keyboards/soda/cherish/config.h b/keyboards/soda/cherish/config.h
index 1f14d0f534..9d07bd0dce 100644
--- a/keyboards/soda/cherish/config.h
+++ b/keyboards/soda/cherish/config.h
@@ -38,7 +38,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //#define NO_ACTION_TAPPING
 //#define NO_ACTION_ONESHOT
 
-#define RGB_DI_PIN A13
 #define RGBLIGHT_EFFECT_BREATHING
 #define RGBLIGHT_EFFECT_RAINBOW_MOOD
 #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/soda/cherish/info.json b/keyboards/soda/cherish/info.json
index 446fda090b..447dcffa42 100644
--- a/keyboards/soda/cherish/info.json
+++ b/keyboards/soda/cherish/info.json
@@ -8,6 +8,9 @@
         "pid": "0xEB52",
         "device_version": "0.0.1"
     },
+    "ws2812": {
+        "pin": "A13"
+    },
     "matrix_pins": {
         "cols": ["B12", "B13", "B14", "B15", "A8", "A9", "A10", "A14", "A15", "B3", "B4", "B5", "B6", "B7", "B8"],
         "rows": ["A7", "B0", "B1", "B2", "B10", "B11"]
diff --git a/keyboards/soda/pocket/config.h b/keyboards/soda/pocket/config.h
index 89571c505f..053083f230 100644
--- a/keyboards/soda/pocket/config.h
+++ b/keyboards/soda/pocket/config.h
@@ -23,8 +23,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define LOCKING_RESYNC_ENABLE
 // enable NKRO_ENABLE
 #define FORCE_NKRO
-// The pin connected to the data pin of the LEDs
-#define RGB_DI_PIN C15
 // The number of LEDs connected
 
 #define RGB_MATRIX_LED_COUNT 34
diff --git a/keyboards/soda/pocket/info.json b/keyboards/soda/pocket/info.json
index 16374bc9d8..815eb0da13 100644
--- a/keyboards/soda/pocket/info.json
+++ b/keyboards/soda/pocket/info.json
@@ -8,6 +8,9 @@
         "pid": "0x4F51",
         "device_version": "1.0.2"
     },
+    "ws2812": {
+        "pin": "C15"
+    },
     "matrix_pins": {
         "cols": ["A2", "A1", "B14", "B4", "B5", "B6", "B7"],
         "rows": ["A7", "B0", "B1", "B2", "B10", "B11"]