Solved

how does windows identify mouse

Posted on 1998-10-22
8
313 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
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
 

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

732 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