Platforms to show: All Mac Windows Linux Cross-Platform
MacHIDMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | USB | MBS USB Plugin | 6.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
For newer development, please use our HIDAPIMBS class.
- 2 events
- event DeviceRemoved(result as Integer)
- event ReceivedData(data as string, size as Integer)
- 6 properties
- property IOHIDDeviceInterface122Handle as Integer
- property IOHIDObjectIteratorHandle as Integer
- property IOObjectHandle as Integer
- property Lasterror as Integer
- property OnlyOneEventPerTick as Boolean
- property TimeOut as Integer
- 19 methods
- method Close
- method Connect
- method Disconnect
- method FindFirstDevice as boolean
- method FindNextDevice as boolean
- method HIDProperties as Variant
- method InstallCallback
- method Manufacturer as string
- method Product as string
- method ProductID as Integer
- method ReadMessage(ReportID as Integer, reportType as Integer, length as Integer) as string
- method ReadMessageMemory(ReportID as Integer, reportType as Integer, length as Integer) as memoryblock
- method SendMessage(data as string)
- method SendMessage(ReportID as Integer, reportType as Integer, data as string)
- method SendMessageMemory(data as memoryblock, offset as Integer, length as Integer)
- method SendMessageMemory(ReportID as Integer, reportType as Integer, data as memoryblock, offset as Integer, length as Integer)
- method SerialNumber as string
- method VendorID as Integer
- method VersionNumber as Integer
- 3 constants
Report Types
Constant | Value | Description |
---|---|---|
kIOHIDReportTypeFeature | 2 |
Feature report. |
kIOHIDReportTypeInput | 0 |
Input report. |
kIOHIDReportTypeOutput | 1 |
Output report. |
This class has no sub classes.
Some examples using this class:
- /USB/HID Mac/USB HID Devices Mac
- /USB/HID Mac/USB HID IO Warrior Mac OS X LEDs
- /USB/HID Mac/USB HID Test Mac
- /USB/USBtest
Blog Entries
- MBS Xojo / Real Studio Plugins, version 15.1pr6
- MBS Xojo / Real Studio Plugins, version 15.0pr11
- MBS Xojo / Real Studio Plugins, version 14.0pr3
- MonkeyBread Software Releases the MBS REALbasic plug-ins 8.6
The items on this page are in the following plugins: MBS USB Plugin.
MacFileOperationStatusMBS - MacQuarantinePropertiesMBS