Add ability to control music with the Track section, Cycle to pause
This commit is contained in:
parent
ee10219104
commit
52495a60d1
30
VB.ahk
30
VB.ahk
@ -214,11 +214,36 @@ midiCCin:
|
||||
Case 10: ; VoiceMeeter recorder controls
|
||||
Switch cc
|
||||
{
|
||||
Case 1: ; Media Previous
|
||||
if (val)
|
||||
{
|
||||
Send, {Media_Prev}
|
||||
}
|
||||
Return
|
||||
Case 2: ; Media Next
|
||||
if (val)
|
||||
{
|
||||
Send, {Media_Next}
|
||||
}
|
||||
Return
|
||||
Case 3: ; Media Play/Pause
|
||||
Send, {Media_Play_Pause}
|
||||
Return
|
||||
Case 7: ; Rewind
|
||||
adjustToggle("Recorder.REW", val)
|
||||
if (val)
|
||||
{
|
||||
adjustToggle("Recorder.REW", true)
|
||||
} else {
|
||||
adjustToggle("Recorder.Play", true)
|
||||
}
|
||||
Return
|
||||
Case 8: ; Fast Forward
|
||||
adjustToggle("Recorder.FF", val)
|
||||
if (val)
|
||||
{
|
||||
adjustToggle("Recorder.FF", true)
|
||||
} else {
|
||||
adjustToggle("Recorder.Play", true)
|
||||
}
|
||||
Return
|
||||
Case 9:
|
||||
adjustToggle("Recorder.Stop", val)
|
||||
@ -341,4 +366,3 @@ die(die_string:="UNSPECIFIED FATAL ERROR.", exit_status:=254) {
|
||||
MsgBox 16, FATAL ERROR, %die_string%
|
||||
ExitApp exit_status
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user