FastLED 3.9.15
Loading...
Searching...
No Matches
Key Struct Reference

Detailed Description

Definition at line 22 of file Keyboard.h.

#include <Keyboard.h>

+ Collaboration diagram for Key:

Public Member Functions

 Key ()
 
float AttackRemapFactor (uint32_t now_ms)
 
float CalcAttackDecayFactor (uint32_t delta_ms) const
 
float IntensityFactor () const
 
void SetOff (uint32_t now_ms)
 
void SetOn (uint8_t vel, const ColorHSV &color, uint32_t now_ms)
 
void SetSustained ()
 
void Update (uint32_t now_ms, uint32_t delta_ms, bool sustain_pedal_on)
 
void UpdateIntensity (uint32_t now_ms, uint32_t delta_ms)
 
float VelocityFactor () const
 

Public Attributes

ColorHSV curr_color_
 
unsigned long event_time_
 
int idx_
 
float intensity_
 
bool on_
 
ColorHSV orig_color_
 
bool sustain_pedal_on_
 
bool sustained_
 
uint8_t velocity_
 

The documentation for this struct was generated from the following files: