diff --git a/OscMacroDefinitions.py b/OscMacroDefinitions.py index 3c3ebe1..bd1f7cd 100644 --- a/OscMacroDefinitions.py +++ b/OscMacroDefinitions.py @@ -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, diff --git a/README.md b/README.md index 6a68851..ba2887d 100644 --- a/README.md +++ b/README.md @@ -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