summary refs log tree commit diff
path: root/keyboards/ghs
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/ghs
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/ghs')
-rw-r--r--keyboards/ghs/jem/info.json4
-rw-r--r--keyboards/ghs/rar/config.h1
-rw-r--r--keyboards/ghs/rar/info.json3
3 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/ghs/jem/info.json b/keyboards/ghs/jem/info.json
index d35f86c4da..44b80ce9a4 100644
--- a/keyboards/ghs/jem/info.json
+++ b/keyboards/ghs/jem/info.json
@@ -28,7 +28,6 @@
     },
     "rgblight": {
         "led_count": 22,
-        "pin": "F4",
         "hue_steps": 10,
         "saturation_steps": 17,
         "brightness_steps": 17,
@@ -43,6 +42,9 @@
             "alternating": true
         }
     },
+    "ws2812": {
+        "pin": "F4"
+    },
     "layouts": {
         "LAYOUT_ansi": {
             "layout": [
diff --git a/keyboards/ghs/rar/config.h b/keyboards/ghs/rar/config.h
index efc9f5f3f5..9cd6e7be5a 100644
--- a/keyboards/ghs/rar/config.h
+++ b/keyboards/ghs/rar/config.h
@@ -17,7 +17,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #pragma once
 
-#define RGB_DI_PIN D0
     #define RGBLED_NUM 17
 #    define RGBLIGHT_EFFECT_BREATHING
 #    define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/ghs/rar/info.json b/keyboards/ghs/rar/info.json
index b97ee064fd..e932a3ac3a 100644
--- a/keyboards/ghs/rar/info.json
+++ b/keyboards/ghs/rar/info.json
@@ -8,6 +8,9 @@
         "pid": "0x0001",
         "device_version": "0.0.1"
     },
+    "ws2812": {
+        "pin": "D0"
+    },
     "matrix_pins": {
         "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "D1"],
         "rows": ["B0", "B7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2"]