Add ! key toggle for effected mic loopback monitor

This commit is contained in:
Jage9
2026-02-20 16:43:14 -05:00
parent 93d2a24a9c
commit 874b14afc9
4 changed files with 30 additions and 1 deletions

View File

@@ -988,6 +988,13 @@ function handleNormalModeInput(code: string, shiftKey: boolean): void {
return;
}
if (code === 'Digit1' && shiftKey) {
const enabled = audio.toggleLoopback();
updateStatus(enabled ? 'Loopback on.' : 'Loopback off.');
audio.sfxUiBlip();
return;
}
if (code === 'KeyE') {
const effect = audio.cycleOutboundEffect();
updateStatus(effect.label);