Change all RGB mode keycodes to short aliases (#23691)

This commit is contained in:
Ryan 2024-05-12 10:05:11 +10:00 committed by GitHub
parent 66eb5d0a90
commit f9f67d4cb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 87 additions and 87 deletions

View file

@ -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);

View file

@ -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);