http://www.airborn.com.au/rs232.html
--Schematic diagrams showing how to wire up RS232 connectors with handshaking
and without, loopback plugs and null modem
MicroChip has a very nice app note on rolling your own mouse. Both the Microsoft
and Mouse Systems versions are covered. You might have to read a little PIC
code to find what you want, but its there. The app note can probably be obtained
from the microchip web site. App # is AN519.