MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / OnKeyPressed

Method OnKeyPressed

Source/MidiController.cpp:713–721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

711}
712
713void MidiController::OnKeyPressed(int key, bool isRepeat)
714{
715 if (mEnabled && !isRepeat)
716 {
717 QwertyController* qwerty = dynamic_cast<QwertyController*>(mNonstandardController);
718 if (qwerty != nullptr)
719 qwerty->OnKeyPressed(KeyToLower(key));
720 }
721}
722
723void MidiController::KeyReleased(int key)
724{

Callers

nothing calls this directly

Calls 1

KeyToLowerFunction · 0.85

Tested by

no test coverage detected