On ATX machines, the mouse is connected using a COM (Serial) port.
Connector : female DB9
D
Description
Name
Pin
?
?
? (DCD ?)
1
?
?
? (RX ?)
2
?
?
? (TX ?)
3
?
?
? (DTR ?)
4
NC
NC
5
NC
NC
6
NC
NC
7
Key (Pin 8)
?
? (RI ?)
?
9
/
GND
Chassis Ground
S
Note: names between () are from a Serial connector. This is just an idea, but as many XT keyboard have only these 5 pins, they could be using the same interface as a COM port.