Platforms to show: All Mac Windows Linux Cross-Platform
Back to IOWarriorCarbonMBS class.
IOWarriorCarbonMBS.CountInterfaces as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | IO Warrior | MBS USB Plugin | 6.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Please email support if you need more functions to handle more than one device.
Some examples using this method:
IOWarriorCarbonMBS.FirstInterfaceOfType(InterfaceType as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | IO Warrior | MBS USB Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns 0 on any error.
This value is needed for WriteToInterface and ReadFromInterface calls.
Some examples using this method:
IOWarriorCarbonMBS.Init as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | IO Warrior | MBS USB Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Return 0 if successfull.
IOWarriorCarbonMBS.InterfaceAtIndex(index as Integer) as IOWarriorCarbonDeviceMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | IO Warrior | MBS USB Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns nil on any error.
Index is zero based and goes till CountInterfaces-1.
Some examples using this method:
IOWarriorCarbonMBS.IsPresent as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | IO Warrior | MBS USB Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Some examples using this method:
IOWarriorCarbonMBS.ReadFromInterface(InterfaceHandle as Integer, reportID as Integer, size as Integer, data as memoryblock) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | IO Warrior | MBS USB Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Size must match the device's report size.
Some examples using this method:
IOWarriorCarbonMBS.ReadInterface0(byref int32 as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | IO Warrior | MBS USB Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Some examples using this method:
IOWarriorCarbonMBS.ReadInterface1(reportid as Integer, m as memoryblock) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | IO Warrior | MBS USB Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
IOWarriorCarbonMBS.WriteInterface0(value as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | IO Warrior | MBS USB Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Some examples using this method:
IOWarriorCarbonMBS.WriteInterface1(reportid as Integer, m as memoryblock) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | IO Warrior | MBS USB Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
IOWarriorCarbonMBS.WriteToInterface(InterfaceHandle as Integer, size as Integer, data as memoryblock) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | IO Warrior | MBS USB Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Size must match the device's report size.
The items on this page are in the following plugins: MBS USB Plugin.