Solved

how does windows identify mouse

Posted on 1998-10-22
8
264 Views
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.
0
Comment
Question by:airek
8 Comments
 
LVL 17

Expert Comment

by:mikecr
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.

Mike
0
 

Author Comment

by:airek
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.
0
 
LVL 15

Expert Comment

by:jrhelgeson
ID: 1127436
By its scent?
0
 
LVL 17

Expert Comment

by:mikecr
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.

Mike
0
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

by:airek
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.
0
 
LVL 1

Accepted Solution

by:
bculver earned 100 total points
ID: 1127439

http://www.hut.fi/~then/mytexts/mouse_adapters.html

Should have all the information you need.
0
 

Author Comment

by:airek
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.
0
 

Expert Comment

by:hellengineer
ID: 21601870
link broken
0

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 http://bit.ly/XDcourse.

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