Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I plugged in a USB mouse into my Vista machine and it's working fine. Is this device assigned a COM port number? If so, how do I determine it?

In Device Manager, under Ports, everything listed there is either prefixed with a "Bluetooth Serial Port (COMxx)" or "BT Port (COMxx)". Nothing there to suggest the com port of the mouse. I see the mouse under "Mice and other pointing devices", but looking at the properties of the mouse does not reveal the com port number.

I'm curious because I'm interested in using a programming library I found that allows me to read and send messages to a com port device.

share|improve this question
up vote 4 down vote accepted

No, USB mice do not emulate serial port. They use USB HID device class shared with keyboards and drawing pads. BT mice also do not use any of serial ports, they use HID channel.

share|improve this answer
How can I get a device on my laptop assigned a COM port? All I have are USB ports. Would really like to play with this library. – StackOverflowNewbie Feb 22 '12 at 12:08
Perhaps is what you're looking for. – dsolimano Feb 22 '12 at 13:03
Thats what i was thinking. USB mice sometimes do do PS/2 but those arn't conventional serial ports either – Journeyman Geek Feb 22 '12 at 13:06
Are there any hardware that might emulate a COM port? It doesn't need to be a mouse. – StackOverflowNewbie Feb 22 '12 at 13:27
Yes - called USB serial port adapter. Your serial port library has no effect on USB ports, you can use it though against modem in mobile phone etc. For USB you need USB library like libusb or so. You might want to use UNIX, since half of devices are character devices - good enough to be serial port for serial port libraries. – ZaB Feb 22 '12 at 23:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .