slight edits

This commit is contained in:
David Daily 2020-05-31 14:01:56 -05:00
parent a6e519f913
commit d1ec2fed49
1 changed files with 9 additions and 3 deletions

12
VB.ahk
View File

@ -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
}