summaryrefslogtreecommitdiff
path: root/keyboards/gh60/satan
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/gh60/satan
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/gh60/satan')
-rw-r--r--keyboards/gh60/satan/config.h1
-rw-r--r--keyboards/gh60/satan/info.json3
-rw-r--r--keyboards/gh60/satan/keymaps/fakb/config.h4
-rw-r--r--keyboards/gh60/satan/keymaps/iso_split_rshift/config.h4
-rw-r--r--keyboards/gh60/satan/keymaps/olligranlund_iso/config.h4
5 files changed, 9 insertions, 7 deletions
diff --git a/keyboards/gh60/satan/config.h b/keyboards/gh60/satan/config.h
index 3e9a6d3a1c..1fbb35b3a2 100644
--- a/keyboards/gh60/satan/config.h
+++ b/keyboards/gh60/satan/config.h
@@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Underglow configuration
*/
-#define RGB_DI_PIN E2
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/gh60/satan/info.json b/keyboards/gh60/satan/info.json
index 9a3b190d54..76b1af9f06 100644
--- a/keyboards/gh60/satan/info.json
+++ b/keyboards/gh60/satan/info.json
@@ -17,6 +17,9 @@
"pin": "B6",
"levels": 4
},
+ "ws2812": {
+ "pin": "E2"
+ },
"indicators": {
"caps_lock": "B2",
"on_state": 0
diff --git a/keyboards/gh60/satan/keymaps/fakb/config.h b/keyboards/gh60/satan/keymaps/fakb/config.h
index f7314a8671..5ca8aa1da5 100644
--- a/keyboards/gh60/satan/keymaps/fakb/config.h
+++ b/keyboards/gh60/satan/keymaps/fakb/config.h
@@ -12,5 +12,5 @@
#define MOUSEKEY_WHEEL_MAX_SPEED 1
#define MOUSEKEY_WHEEL_TIME_TO_MAX 255
-#undef RGB_DI_PIN
-#define RGB_DI_PIN B2
+#undef WS2812_DI_PIN
+#define WS2812_DI_PIN B2
diff --git a/keyboards/gh60/satan/keymaps/iso_split_rshift/config.h b/keyboards/gh60/satan/keymaps/iso_split_rshift/config.h
index 27c1372da1..6795cf6c97 100644
--- a/keyboards/gh60/satan/keymaps/iso_split_rshift/config.h
+++ b/keyboards/gh60/satan/keymaps/iso_split_rshift/config.h
@@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "../../config.h"
// only change
-#undef RGB_DI_PIN
-#define RGB_DI_PIN B2
+#undef WS2812_DI_PIN
+#define WS2812_DI_PIN B2
#endif
diff --git a/keyboards/gh60/satan/keymaps/olligranlund_iso/config.h b/keyboards/gh60/satan/keymaps/olligranlund_iso/config.h
index 30269196f3..75c1632908 100644
--- a/keyboards/gh60/satan/keymaps/olligranlund_iso/config.h
+++ b/keyboards/gh60/satan/keymaps/olligranlund_iso/config.h
@@ -3,8 +3,8 @@
#define BACKLIGHT_LEVELS 10
// Underlight configuration
-#undef RGB_DI_PIN
-#define RGB_DI_PIN B2
+#undef WS2812_DI_PIN
+#define WS2812_DI_PIN B2
#undef RGBLED_NUM
#define RGBLED_NUM 16 // Number of LEDs
#undef RGBLIGHT_HUE_STEP