Data
Interface
Just about all mice in use today have PS/2 type connectors, as shown here:
These pins have the following functions (refer to the above photo for pin numbering):
The data is sent from the mouse to the computer serially on the data line, with the clock line pulsing to tell the computer where each bit starts and stops. 11 bits are sent for each byte (1 start bit, 8 data bits, 1 parity bit and 1 stop bit). The PS/2 mouse sends on the order of 1,200 bits per second. That allows it to report mouse position to the computer at a maximum rate of about 40 reports per second. If you are moving the mouse very rapidly, the mouse may travel an inch or more in 1/40th of a second. This is why there is a byte allocated for X and Y motion in the data protocol.
![]() |