slight edits

This commit is contained in:
David Daily 2020-05-31 14:01:56 -05:00
parent a6e519f913
commit d1ec2fed49

12
VB.ahk
View File

@ -137,19 +137,25 @@ midiCCin:
Lvl := fader_to_fader(val) Lvl := fader_to_fader(val)
adjustVolLvl("Bus[3].Gain", Lvl) adjustVolLvl("Bus[3].Gain", Lvl)
Return Return
Case 2, 4: ; Priority Speaker in Discord (whatever that does), also PTT Case 2: ; PTT
if !(val){ if !(val){
cSendMute := Round(readParam("Bus[3].Mute")) cSendMute := Round(readParam("Bus[3].Mute"))
adjustToggle("Bus[3].Mute", False) adjustToggle("Bus[3].Mute", False)
Send, {F23 down}
} else { } else {
Send, {F23 up}
adjustToggle("Bus[3].Mute", cSendMute) adjustToggle("Bus[3].Mute", cSendMute)
} }
Return Return
Case 3: Case 3:
adjustToggle("Bus[3].Mute", val) adjustToggle("Bus[3].Mute", val)
Return 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: Default:
Return Return
} }