Quote:
Originally Posted by Lostmage333
Unfortunately, I am not familiar with which pins do what on a mouse. You should probobly either contact a manufacturer or dissassemble an old one to figure out what goes where. You will need to definately wire up the power (prob 5 volts) and ground. There should be 2 digital lines for the encoders, and (at least) 2 digital lines for the clicks (maybe one more for the wheel). You will not need to use the clicks or the wheel, so do not wire them.
To test, check for continuity or resistance through the mouse as you move it back and forth, and see if the line ever reads high.
|
Depends what kind of mouse too. A PS/2 Mouse just has a Data, Ground, Power and Clock lines (source:
Wikipedia).
If its USB there are four pins: Power, Ground and Data+, Data- (source:
Pinouts.ru).
So either way I don't think its as simple as just see which lines go high, I'm pretty sure its all encoded as pulses along the data lines.