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

◆ AttackRemapFactor()

float Key::AttackRemapFactor ( uint32_t now_ms)

Definition at line 59 of file Keyboard.cpp.

59 {
60 if (on_) {
61 return ::AttackRemapFactor(now_ms - event_time_);
62 } else {
63 return 1.0;
64 }
65}
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: