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

◆ GetKey()

Key * KeyboardState::GetKey ( int midi_pitch)

Definition at line 208 of file Keyboard.cpp.

208 {
209 uint8_t idx = KeyIndex(midi_pitch);
210 return &keys_[idx];
211}
static uint8_t KeyIndex(int midi_pitch)
Definition Keyboard.cpp:203
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: