mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-01-18 21:30:46 +00:00
update to voicemeeter root script
now using psm1
This commit is contained in:
parent
aa384df506
commit
fce4c51c56
@ -13,7 +13,7 @@ class Remote {
|
|||||||
$this.Setup()
|
$this.Setup()
|
||||||
}
|
}
|
||||||
|
|
||||||
[void] Setup () {
|
[void] Setup() {
|
||||||
Login -TYPE $this.type
|
Login -TYPE $this.type
|
||||||
|
|
||||||
$this.button = Buttons
|
$this.button = Buttons
|
||||||
@ -21,7 +21,7 @@ class Remote {
|
|||||||
$this.bus = Buses
|
$this.bus = Buses
|
||||||
}
|
}
|
||||||
|
|
||||||
[void] Logout () {
|
[void] Logout() {
|
||||||
Logout
|
Logout
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -29,3 +29,17 @@ class Remote {
|
|||||||
Param_Set_Multi -HASH $hash
|
Param_Set_Multi -HASH $hash
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Function Get-RemoteBasic {
|
||||||
|
return [Remote]::new('basic')
|
||||||
|
}
|
||||||
|
|
||||||
|
Function Get-RemoteBanana {
|
||||||
|
return [Remote]::new('banana')
|
||||||
|
}
|
||||||
|
|
||||||
|
Function Get-RemotePotato {
|
||||||
|
return [Remote]::new('potato')
|
||||||
|
}
|
||||||
|
|
||||||
|
Export-ModuleMember -Function Get-RemoteBasic, Get-RemoteBanana, Get-RemotePotato
|
Loading…
Reference in New Issue
Block a user