Method SetTransPortProtocol
SetTransPortProtocol(IDeviceProperties, Int32)
Sets protocol (USB-HID or VCOM)to use for the pad.
Declaration
public static bool SetTransPortProtocol(this IDeviceProperties deviceProperties, int protocol)
Parameters
Type | Name | Description |
---|---|---|
IDeviceProperties | deviceProperties | The device properties. See DeviceProperties. |
System.Int32 | protocol | 0 = USB-HID, 2 = VCOM, 1 = DO not use this. |
Returns
Type | Description |
---|---|
System.Boolean | True in case of success. |