.SH DESCRIPTION
.SS Introduction
The pinout of the usual 9 pin plug as used for serial mice is:
-
.TS
center;
r c l.
speeds 9600, 4800, 2400 and 1200 bit/s, each time writing the two characters
from the table below and waiting 0.1 seconds. The following table shows
available speeds and the strings that select them:
-
.TS
center;
l l.
3-byte packets. The \fIdx\fP and \fIdy\fP movements are sent as
two's-complement, \fIlb\fP (\fIrb\fP) are set when the left (right)
button is pressed:
-
.TS
center;
r c c c c c c c.
values, \fIdy\fP is send as negated sum of the two two's-complement
values. \fIlb\fP (\fImb\fP, \fIrb\fP) are cleared when the left (middle,
right) button is pressed:
-
.TS
center;
r c c c c c c c c.
packets. \fIdx\fP and \fIdy\fP are sent as single signed values, the
sign bit indicating a negative value. \fIlb\fP (\fImb\fP, \fIrb\fP) are
set when the left (middle, right) button is pressed:
-
.TS
center;
r c c c c c c c c.
2 0 dx6 dx5 dx4 dx3 dx2 dx1 dx0
3 0 dy6 dy5 dy4 dy3 dy2 dy1 dy0
.TE
-
.SH FILES
.TP
.I /dev/mouse
A commonly used symlink pointing to a mouse device.
-
.SH "SEE ALSO"
.BR ttyS (4),
.BR gpm (8)