3 ms·
Not to mention, I'm not sure I prefer the Windows version of the USB API anyhow. Sure, you have to snprintf these details of the USB device, to construct a pat
by thedracle 7y ago
Not to mention, I'm not sure I prefer the Windows version of the USB API anyhow.
Sure, you have to snprintf these details of the USB device, to construct a path. But... You also have a general purpose facility available to explore USB devices with, which only requires the general ability to navigate the file system.
I still remember writing systems for data acquisition via RS232 serial devices, and GPIB, on Windows 98, and using specialized drivers, which gave some magical API, and then moving to Linux..
When I realized I could just cat from /dev/ttyS0, and use ioctl to set baud rate and other parameters, it was incredible. And I could share a lot of the code for interfacing with GPIB which was also just a character device.