diff --git a/VB.ahk b/VB.ahk index 0ecb5b2..b48e018 100644 --- a/VB.ahk +++ b/VB.ahk @@ -137,19 +137,25 @@ midiCCin: Lvl := fader_to_fader(val) adjustVolLvl("Bus[3].Gain", Lvl) Return - Case 2, 4: ; Priority Speaker in Discord (whatever that does), also PTT + Case 2: ; PTT if !(val){ cSendMute := Round(readParam("Bus[3].Mute")) adjustToggle("Bus[3].Mute", False) - Send, {F23 down} } else { - Send, {F23 up} adjustToggle("Bus[3].Mute", cSendMute) } Return Case 3: adjustToggle("Bus[3].Mute", val) Return + Case 4: ; Push to mute + if !(val){ + cSendMute := Round(readParam("Bus[3].Mute")) + adjustToggle("Bus[3].Mute", True) + } else { + adjustToggle("Bus[3].Mute", cSendMute) + } + Return Default: Return }