update to error classes, rework Param_Set_Multi

Added VMRemoteErrors.
Other error classes now subclass VMRemoteErrors.

rework Function Param_Set_Multi

added throw LoginError object on multiple login attempts (still crashing the powershell window during testing if in same powershell fork)

update readme to include vban_instream, vban_outstream example in set parameters by hash. macrobutton in hash can now use key button or mb.
This commit is contained in:
onyx-and-iris
2022-01-19 05:16:28 +00:00
parent 1e4ab54447
commit 57e5368752
3 changed files with 35 additions and 63 deletions

View File

@@ -87,8 +87,11 @@ try {
strip_2 = @{mute = $true; mono = $true};
bus_1 = @{mute = $true; mono = $true};
mb_34 = @{state = $true};
mb_12 = @{trigger = $false};
button_34 = @{state = $true};
button_12 = @{trigger = $false};
vban_instream_3 = @{name = 'streamname'};
vban_outstream_0 = @{on = $false};
}
$vmr.Set_Multi($hash)
@@ -124,9 +127,8 @@ $vmr.button[5].trigger = $true
```
### VBAN
#### vmr.vban.enable
- vmr.vban.enable: Toggle VBAN on or off. Accepts a boolean value.
Toggle VBAN on or off. Accepts a boolean value.
For each vban in/out stream the following parameters are defined:
- on: boolean
- name: string