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

◆ GetKey()

Key * KeyboardState::GetKey ( int midi_pitch)

Definition at line 207 of file Keyboard.cpp.

207 {
208 uint8_t idx = KeyIndex(midi_pitch);
209 return &keys_[idx];
210}
static uint8_t KeyIndex(int midi_pitch)
Definition Keyboard.cpp:202
Key keys_[kNumKeys]
Definition Keyboard.h:103

References KeyIndex(), and keys_.

Referenced by HandleNoteOff(), and HandleNoteOn().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: