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

◆ AttackRemapFactor()

float Key::AttackRemapFactor ( uint32_t now_ms)

Definition at line 57 of file Keyboard.cpp.

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

References event_time_, and on_.

Referenced by UpdateIntensity().

+ Here is the caller graph for this function: