implement Release All
This commit is contained in:
parent
3eab5b9626
commit
1d7612e57c
|
@ -145,6 +145,12 @@ class HogDevice():
|
|||
logger.info("Choose Master " + master)
|
||||
self.osc.button_press(ctx.device, "/hog/hardware/choose/" + master)
|
||||
|
||||
def _release_all(self, ctx):
|
||||
logger.info("Release All")
|
||||
self.osc.send_message(ctx.device, "/hog/hardware/pig", buttonDOWN)
|
||||
self.osc.button_press(ctx.device, "/hog/hardware/release")
|
||||
self.osc.send_message(ctx.device, "/hog/hardware/pig", buttonUP)
|
||||
|
||||
def _list_go(self, ctx):
|
||||
for i in ctx.targets:
|
||||
list = str(i)
|
||||
|
@ -183,6 +189,7 @@ class HogDevice():
|
|||
"FM": _master_fade,
|
||||
"FGM": _master_fade_grand,
|
||||
"CM": _master_choose,
|
||||
"RA": _release_all,
|
||||
"GL": _list_go,
|
||||
"HL": _list_halt,
|
||||
"RL": _list_release,
|
||||
|
|
|
@ -67,7 +67,7 @@ Only features that are supported in both OSC and Comment Macros are able to be i
|
|||
| HM | Halt Master | Yes | |
|
||||
| AM | Assert Master | no | |
|
||||
| RM | Release Master | no | |
|
||||
| RA | Relase All | no | |
|
||||
| RA | Relase All | Yes | |
|
||||
| RO | Release Others | no | |
|
||||
| FM | Fade Master | Yes | no times, no *
|
||||
| FGM | Fade Grand Master | Yes | no times
|
||||
|
|
Loading…
Reference in New Issue