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)
|
Lvl := fader_to_fader(val)
|
||||||
adjustVolLvl("Bus[2].Gain", Lvl)
|
adjustVolLvl("Bus[2].Gain", Lvl)
|
||||||
Return
|
Return
|
||||||
|
Case 2, 4:
|
||||||
|
adjustToggle("Bus[2].Mute", val)
|
||||||
|
Return
|
||||||
Case 3:
|
Case 3:
|
||||||
adjustToggle("Bus[2].Mute", val)
|
adjustToggle("Bus[2].Mute", val)
|
||||||
Return
|
Return
|
||||||
@ -134,6 +137,16 @@ 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
|
||||||
|
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:
|
Case 3:
|
||||||
adjustToggle("Bus[3].Mute", val)
|
adjustToggle("Bus[3].Mute", val)
|
||||||
Return
|
Return
|
||||||
|
Loading…
Reference in New Issue
Block a user