diff options
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r-- | quantum/quantum.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index e1bc8b242e..f9b3e2197d 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -368,6 +368,16 @@ bool process_record_quantum(keyrecord_t *record) { rgblight_decrease_val(); } return false; + case RGB_SPI: + if (record->event.pressed) { + rgblight_increase_speed(); + } + return false; + case RGB_SPD: + if (record->event.pressed) { + rgblight_decrease_speed(); + } + return false; case RGB_MODE_PLAIN: if (record->event.pressed) { rgblight_mode(1); |