FastLED 3.9.15
Loading...
Searching...
No Matches

◆ AttackRemapFactor()

float Key::AttackRemapFactor ( uint32_t now_ms)

Definition at line 58 of file Keyboard.cpp.

58 {
59 if (mOn) {
60 return ::AttackRemapFactor(now_ms - mEventTime);
61 } else {
62 return 1.0;
63 }
64}
bool mOn
Definition Keyboard.h:36
unsigned long mEventTime
Definition Keyboard.h:41

References mEventTime, and mOn.

Referenced by UpdateIntensity().

+ Here is the caller graph for this function: