diff options
author | Joel Challis <[email protected]> | 2023-09-25 17:48:10 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-09-25 17:48:10 +0100 |
commit | 339bff63393cda8bd6e8358e09d04b50ff9ac010 (patch) | |
tree | 8a60fa247a3e4c87bad50bec32725e27f66c0bd7 /quantum/quantum.c | |
parent | 1052c03a5b15b09e0925c918812452cdd0c6d413 (diff) | |
download | qmk_firmware-339bff63393cda8bd6e8358e09d04b50ff9ac010.tar.gz qmk_firmware-339bff63393cda8bd6e8358e09d04b50ff9ac010.zip |
Move velocikey to within rgblight (#22123)
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r-- | quantum/quantum.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 3323a5adb6..f721ab0a1f 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -68,10 +68,6 @@ # include "process_unicode_common.h" #endif -#ifdef VELOCIKEY_ENABLE -# include "velocikey.h" -#endif - #ifdef AUDIO_ENABLE # ifndef GOODBYE_SONG # define GOODBYE_SONG SONG(GOODBYE_SOUND) @@ -288,9 +284,9 @@ bool process_record_quantum(keyrecord_t *record) { } #endif -#ifdef VELOCIKEY_ENABLE - if (velocikey_enabled() && record->event.pressed) { - velocikey_accelerate(); +#ifdef RGBLIGHT_ENABLE + if (record->event.pressed) { + preprocess_rgblight(); } #endif |