From f9f67d4cb33507e208f1495fe9f5d76e9f27c41b Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 12 May 2024 10:05:11 +1000 Subject: Change all RGB mode keycodes to short aliases (#23691) --- keyboards/pearlboards/pandora/keymaps/default/keymap.c | 2 +- keyboards/pearlboards/pandora/keymaps/via/keymap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboards/pearlboards') 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); -- cgit v1.2.3