how does windows identify mouse

Posted on 1998-10-22
Last Modified: 2010-04-26
I am involved in development of an alternate pointing device for windows based systems. I need to know exactly what the process is that Windows uses to identify a serial mouse connected to the computer at start up.
Question by:airek
LVL 17

Expert Comment

ID: 1127434
It loads a driver for PS/2 and Serial at startup. If it encounters the mouse on either COM1 or COM2, the driver loads, if it doesn't then you get an error that no mouse is present.


Author Comment

ID: 1127435
That is more high-level than what I'm looking for. I need to know what happens at a hardware level so that I can program a microcontroller to emulate a mouse thus fooling the computer into believing that a serial mouse is present.
LVL 15

Expert Comment

ID: 1127436
By its scent?
LVL 17

Expert Comment

ID: 1127437
If your programming for it then you need to be able to have your software access address 3f8-Irq4 and 2f8-Irq3 to be able to eminate a mouse.

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.


Author Comment

ID: 1127438
I'm progamming an external device to act like a mouse. I want to connect this device to the serial port of the computer and send signals to the computer as if my device was a mouse. I need to know what signal a computer sends to the mouse to check if it's there and how a mouse responds to identify itself to the computer. The idea is that my device will appear to be a mouse and communicate through the standard mouse driver thus eliminating the need for any additional software running on the computer.

Accepted Solution

bculver earned 100 total points
ID: 1127439

Should have all the information you need.

Author Comment

ID: 1127440
This provides the information with one important exception. The document state that DTR is brought low then back high to reset the mouse an request identification. Actually RTS is the pin that is toggled. Once that was cleared up all works fine.

Expert Comment

ID: 21601870
link broken

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Refurbished 16 56
Upgrading my processor 5 58
How do I hard reset a TrippLite UPS 4 24
Two systems one speaker system re-question 29 37
What do we know about Legacy Video Conferencing? - Full IT support needed! - Complicated systems at outrageous prices! - Intense training required! Highfive believes we need to embrace a new alternative.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now