diff options
Diffstat (limited to 'Targets.c4d/System.c4g/Bridge.c')
| -rw-r--r-- | Targets.c4d/System.c4g/Bridge.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Targets.c4d/System.c4g/Bridge.c b/Targets.c4d/System.c4g/Bridge.c new file mode 100644 index 0000000..7aacda6 --- /dev/null +++ b/Targets.c4d/System.c4g/Bridge.c @@ -0,0 +1,14 @@ +#strict 2 +#appendto BRDG + +func RemoteControlMap() +{ + return [ + [RC7I_Control_T, "LockSafe", "$BRDG_Lock$"], + [RC7I_Control_U, "ReleaseSafe", "$BRDG_Release$"], + [RC7I_Control_Q, "ControlDigDouble", "$BRDG_Toggle$"] + ]; +} + +func LockSafe() { return !IsLocked() && Lock(); } +func ReleaseSafe() { return IsLocked() && Release(); } |
