Re: developing Application software for a host to communicate with a USB device

In article <3524b070-47d8-4dd8-b537-34dfe05f7d9c@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= <toe@xxxxxxxxxxx> wrote:

This all depends on what kind of USB device you're using. There are many

1. Mass storage device
2. Standard HID device (mouse, keyboard, joystick)
3. Custom HID device
4. Audio device
5. Virtual serial port
6. Custom device type
7. Many other types like printers, scanners, cameras, etc.

Is there any cross-platform library for USB communication?

I haven't seen any. It may be possible to write one for a small subset of
devices but it probably wouldn't be compatible with devices like the latest
USB all-in-one printer-copier-scanner-fax with LCD screen and SD card reader
or with a device like a USB doughnut maker.