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:
Chris Lewis
2018-07-27 00:23:44 +10:00
committed by GitHub
parent 876cb7a14f
commit 5f2b065dad
4 changed files with 27 additions and 15 deletions
+1
View File
@@ -57,6 +57,7 @@
extern uint32_t default_layer_state;
//Used in rgblight.c to match RGB animation to typing speed
extern uint8_t typing_speed;
#define TYPING_SPEED_MAX_VALUE 100
#ifndef NO_ACTION_LAYER
extern uint32_t layer_state;