| 711 | } |
| 712 | |
| 713 | void 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 | |
| 723 | void MidiController::KeyReleased(int key) |
| 724 | { |
nothing calls this directly
no test coverage detected