Need mouse info
Need mouse info
How do you read the mouse pakcets from the mouse port. I know that there is an BIOS interrupt but I want to know how it is done for interrest
Re:Need mouse info
There is no spoon... eh, BIOS interrupt for mouse port in general. There is, I've heard, one for the PS2 mouse port On 50-60% of the computers there is no mouse there, however, there is a mouse. You might want to read up on different types first:B.E wrote: How do you read the mouse pakcets from the mouse port. I know that there is an BIOS interrupt but I want to know how it is done for interrest
- Serial mice: Use a serial port. Make a serial port driver and try to interpret the packets.
- PS2 mice: Use a specific mouse port. Use the keyboard port and in that the aux device. Try to interpret the packets, well described everywhere.
- USB mice: Use a generic USB host driver, then a USB mouse driver and then something to interpret the packets. Packets are described using an interface descriptor, make a parser to decode it and use it for decoding the packets. Very generic, can connect almost anything to the usb port.
- Bus mice: Awkward things. They connect to a this-mouse-only connector on the back and usually have proprietary protocols. Not much used anymore, but are still around.
Only after knowing at least this list can you hope to identify prevalent mouse types. Second point is, only one of them has a default BIOS entry point, and that's the one that's easiest to program.
Search the FAQ for information on PS2, Serial stuff and USB, search book references and search google on things like PS2 mouse protocol etc.
Grtz, Candy