![]() |
| | #1 |
| Registered User Join Date: Mar 2009
Posts: 8
| So my question is how could I connect to a USB device (i.e mouse) and send it raw data in c/c++(I am using unix)? Thanks, CorX |
| CorX is offline | |
| | #2 | |
| subminimalist Join Date: Jul 2008 Location: NYC
Posts: 3,946
| Quote:
USB devices are controlled with bytecode/text, but it is not in a computer programming language, and the devices do not have the capacity to interpret C or C++. Unless they were made to do that, which would be very unusual; what is it specifically you are trying to do?
__________________ Accuracy and integrity mean nothing if you don't make it past the censors...PYTHAGORAS | |
| MK27 is online now | |
| | #3 |
| Registered User Join Date: Mar 2009
Posts: 8
| Sweet, thanks that makes perfect sense. |
| CorX is offline | |
| | #4 |
| and the hat of vanishing Join Date: Aug 2001 Location: The edge of the known universe
Posts: 21,214
|
__________________ If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut. Up to 8Mb PlusNet broadband from only £5.99 a month! |
| Salem is offline | |
![]() |
| Tags |
| c/c++, device, hardware, unix, usb |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Hardware + Software][C++ or C#] USB Fan | Mywk | C++ Programming | 16 | 07-04-2009 03:12 PM |
| How to write program for Serial and USB which connect to external hardware? | gogo | C Programming | 1 | 10-13-2004 12:15 PM |
| Client timed-out once on connect(), can never connect() again | registering | Networking/Device Communication | 6 | 10-28-2003 03:46 PM |
| Usb 2.0 | ober | Tech Board | 6 | 09-06-2003 10:14 AM |
| Printers On USB | (TNT) | A Brief History of Cprogramming.com | 1 | 03-10-2002 11:48 AM |