|Mac & Win
Reads the current USB operating mode of the dongle “HID-Mode” or “Driver-Mode”.
|✅ Yes, on macOS and Windows
This function was deprecated.
|This is your personal UserCode and must correspond with the internal UserCode from the dongle.
|This is the dongle number when several dongles are plugged in one after the other. The maximum number of dongles available can be determined via the MatrixDongle.Count function.
A maximum of 99 dongles can be connected to the LPT port and a maximum of 127 dongles to the USB connection.
The plugin uses 1 if you don't pass this parameter.
|With LPT dongles, this is the number of the LPT port to which the dongles are connected. With LPT dongles, the port number must be between 1 and 3. Example: 1 for LPT1, 2 for LPT2 or 3 for LPT3.
With USB, this parameter must be 85.
This variable is ignored with network calls.
Default for MBS Plugin is 85 for USB.
Returns number or error.
DescriptionReads the current USB operating mode of the dongle “HID-Mode” or “Driver-Mode”.
Returns value 1 (HID) or 0 (Driver) is the requested USB operating mode of the dongle.
This function does not need a paid license.
Created 1st August 2015, last changed 31st July 2020