I have a command that I got from Malic_VR a while back when downloading his profile, but I need it to do one more thing for me. It does Tap or Press, Hold and Double-Tap, but I also need Double-Tap & Hold (hold the second tap).
Begin Boolean Compare : [{CMD}Running] Equals True
End Condition - Exit when condition met
Set Boolean [{CMD}Running] to True
Set date [~commandStart] to [~commandStart] plus [300] milliseconds
Start Loop While : (Joystick 2 Any Button Is Pressed AND [~commandStart] Is Greater Than Current Date/Time)
End Loop
Begin Date Compare : [~commandstart] Is Less Than Current Date/Time
Press and hold command here
Press A key and hold for 0.6 seconds and release
Else
Start Loop While : [~commandStart] Is Greater Than Current Date/Time
Begin Device State Check : Joystick 2 Button 9 Is Pressed
Double tap command here
Press B key and hold for 0.6 seconds and release
Set Boolean [{CMD}Running] to [Not Set]
End Condition - Exit when condition met
End Loop
Press command here
Press C key and hold for 0.6 seconds and release
End Condition
Set Boolean [{CMD}Running] to [Not Set]
Can someone please add Double-Tap Hold to this code? I am inexperienced with coding unfortunately. Any help greatly needed and appreciated