add some PTT
This commit is contained in:
parent
861da37375
commit
a6e519f913
13
VB.ahk
13
VB.ahk
@ -99,6 +99,9 @@ midiCCin:
|
||||
Lvl := fader_to_fader(val)
|
||||
adjustVolLvl("Bus[2].Gain", Lvl)
|
||||
Return
|
||||
Case 2, 4:
|
||||
adjustToggle("Bus[2].Mute", val)
|
||||
Return
|
||||
Case 3:
|
||||
adjustToggle("Bus[2].Mute", val)
|
||||
Return
|
||||
@ -134,6 +137,16 @@ midiCCin:
|
||||
Lvl := fader_to_fader(val)
|
||||
adjustVolLvl("Bus[3].Gain", Lvl)
|
||||
Return
|
||||
Case 2, 4: ; Priority Speaker in Discord (whatever that does), also 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
|
||||
|
Loading…
Reference in New Issue
Block a user