|Re: Reading USB with C++ [message #1785025 is a reply to message #1784869]
||Sun, 08 April 2018 02:31
Registered: October 2012
This forum is for dealing with Eclipse/CDT issues.|
It isn't about writing programs.
Your question is off-topic.
Besides, you didn't mention what machine USB is connected to or what OS if any.
You would need that information.
For many OS's you would need to write a driver and have privileges to use it.
Some USB devices look like a serial port and can be accessed as such.
The OS makes it so.
For example, I have a Linux app that connects and controls an XM PCR receiver.
All communication is through /dev/ttyUSB0.
For Windows, the interface would be different.
Try searching for
"writing USB drivers"
"reading raw mouse data"
"controlling USB devices"
This may get you started:
Powered by FUDForum
. Page generated in 0.01877 seconds