add device enumeration

bindings, base functions, and Remote methods implemented

initial manual tests for potato pass
This commit is contained in:
pblivingston
2026-02-28 03:13:59 -05:00
parent b41001f4a9
commit abd792acd5
3 changed files with 80 additions and 0 deletions

View File

@@ -75,6 +75,22 @@ class Remote {
[void] PDirty() { P_Dirty }
[void] MDirty() { M_Dirty }
[int] GetOutputCount() {
return Device_Count -IS_OUT $true
}
[int] GetInputCount() {
return Device_Count
}
[PSObject] GetOutputDevice([int]$index) {
return Device_Desc -INDEX $index -IS_OUT $true
}
[PSObject] GetInputDevice([int]$index) {
return Device_Desc -INDEX $index
}
}
class RemoteBasic : Remote {