Solved

how does windows identify mouse

Posted on 1998-10-22
8
276 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

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

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
strings to secure devices 8 77
UAT environment 1 55
Can not play a CD from the D drive 31 74
Charge computer battery during travelling 8 75
In this article we have discussed the manual scenarios to recover data from Windows 10 through some backup and recovery tools which are offered by it.
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

861 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

24 Experts available now in Live!

Get 1:1 Help Now