mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-09-30 22:09:01 +02:00
Support all RGB animation modes (Fixes #1)
* Added support for all RGB light modes to use typing speed Except christmas lights because that is seizure-inducing at high speeds! * Introduced a value range specific to each RGB mode Because some modes are a little too much when running at full speed!
This commit is contained in:
+1
-1
@@ -197,7 +197,7 @@ bool process_record_quantum(keyrecord_t *record) {
|
||||
keypos_t key = record->event.key;
|
||||
uint16_t keycode;
|
||||
|
||||
if (typing_speed < 100) typing_speed += 1;
|
||||
if (typing_speed < TYPING_SPEED_MAX_VALUE) typing_speed += 1;
|
||||
|
||||
#if !defined(NO_ACTION_LAYER) && defined(PREVENT_STUCK_MODIFIERS)
|
||||
/* TODO: Use store_or_get_action() or a similar function. */
|
||||
|
||||
Reference in New Issue
Block a user