[libhid-discuss] libhid + swig -> c#
peter at stuge.se
Mon Apr 11 21:30:30 UTC 2011
Rudolf Muehlbauer wrote:
> Receiving strings is still somewhat strange, only the first
> character is received.
If your device is not actually a human interface device and you have
some control over the firmware I very strongly recommend not using
the HID device class. If no class fits then vendor specific is an
excellent choice; it allows you complete freedom in how communication
works, and it can take advantage of the packet based nature of USB
communication. Reading a string could be as simple as giving a string
number and receiving the string bytes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 190 bytes
Desc: not available
More information about the libhid-discuss