Look up the hidapi support files in the indilib/indi repository, folder libs/indibase.
-Eric
jpaana wrote: INDI uses hidapi library which is layered on top of libusb so it works pretty much everywhere now, even Windows. There is a fairly clear basic example in the SX wheel driver (
github.com/indilib/indi-3rdparty/blob/ma.../indi-sx/sxwheel.cpp
) First you connect to the device with hid_open() which takes the vendor and device ids as parameters (which identify the device) to get a handle and then send data to the device with hid_write() and read responses back with hid_read() with that handle and eventually close the connection with hid_close(). So the basic communication is very easy
from user point of view, devil is in the details what to write and read