aboutsummaryrefslogtreecommitdiff
path: root/keyboards/pearlboards
diff options
context:
space:
mode:
authorRyan <[email protected]>2024-05-12 10:05:11 +1000
committerGitHub <[email protected]>2024-05-12 10:05:11 +1000
commitf9f67d4cb33507e208f1495fe9f5d76e9f27c41b (patch)
tree82fcf71cf95c87f43d280095d647d13e1ac45f67 /keyboards/pearlboards
parent66eb5d0a90c376fd64248831547dfb55ffc7c352 (diff)
downloadqmk_firmware-f9f67d4cb33507e208f1495fe9f5d76e9f27c41b.tar.gz
qmk_firmware-f9f67d4cb33507e208f1495fe9f5d76e9f27c41b.zip
Change all RGB mode keycodes to short aliases (#23691)
Diffstat (limited to 'keyboards/pearlboards')
-rw-r--r--keyboards/pearlboards/pandora/keymaps/default/keymap.c2
-rw-r--r--keyboards/pearlboards/pandora/keymaps/via/keymap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/pearlboards/pandora/keymaps/default/keymap.c b/keyboards/pearlboards/pandora/keymaps/default/keymap.c
index c7c124f574..23fb10eba3 100644
--- a/keyboards/pearlboards/pandora/keymaps/default/keymap.c
+++ b/keyboards/pearlboards/pandora/keymaps/default/keymap.c
@@ -27,7 +27,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case RGBWINGS:
if (record->event.pressed) {
/* Blackout these RGB components */
- tap_code16(RGB_MODE_PLAIN);
+ rgblight_mode(RGBLIGHT_MODE_STATIC_LIGHT);
rgblight_setrgb_at(0, 0, 0, 0);
rgblight_setrgb_at(0, 0, 0, 1);
rgblight_setrgb_at(0, 0, 0, 4);
diff --git a/keyboards/pearlboards/pandora/keymaps/via/keymap.c b/keyboards/pearlboards/pandora/keymaps/via/keymap.c
index ecf2089b69..6a8088df84 100644
--- a/keyboards/pearlboards/pandora/keymaps/via/keymap.c
+++ b/keyboards/pearlboards/pandora/keymaps/via/keymap.c
@@ -27,7 +27,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case RGBWINGS:
if (record->event.pressed) {
/* Blackout these RGB components */
- tap_code16(RGB_MODE_PLAIN);
+ rgblight_mode(RGBLIGHT_MODE_STATIC_LIGHT);
rgblight_setrgb_at(0, 0, 0, 0);
rgblight_setrgb_at(0, 0, 0, 1);
rgblight_setrgb_at(0, 0, 0, 4);