summaryrefslogtreecommitdiffstats
path: root/man4/mouse.4
diff options
context:
space:
mode:
Diffstat (limited to 'man4/mouse.4')
-rw-r--r--man4/mouse.422
1 files changed, 11 insertions, 11 deletions
diff --git a/man4/mouse.4 b/man4/mouse.4
index 69278a0..21ff1a2 100644
--- a/man4/mouse.4
+++ b/man4/mouse.4
@@ -3,7 +3,7 @@
.\" Updates Nov 1998, Andries Brouwer
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
-.TH mouse 4 2023-02-05 "Linux man-pages 6.05.01"
+.TH mouse 4 2023-10-31 "Linux man-pages 6.7"
.SH NAME
mouse \- serial mouse interface
.SH CONFIGURATION
@@ -13,7 +13,7 @@ for a description.
.SH DESCRIPTION
.SS Introduction
The pinout of the usual 9 pin plug as used for serial mice is:
-.PP
+.P
.TS
center;
r c l.
@@ -24,15 +24,15 @@ pin name used for
7 RTS +12 V, Imax = 10 mA
5 GND Ground
.TE
-.PP
+.P
This is the specification, in fact 9 V suffices with most mice.
-.PP
+.P
The mouse driver can recognize a mouse by dropping RTS to low and raising
it again.
About 14 ms later the mouse will send 0x4D (\[aq]M\[aq]) on the data line.
After a further 63 ms, a Microsoft-compatible 3-button mouse will send
0x33 (\[aq]3\[aq]).
-.PP
+.P
The relative mouse movement is sent as
.I dx
(positive means right)
@@ -44,7 +44,7 @@ To select speeds, cycle through the
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:
-.PP
+.P
.TS
center;
l l.
@@ -54,7 +54,7 @@ bit/s string
2400 *o
1200 *n
.TE
-.PP
+.P
The first byte of a data packet can be used for synchronization purposes.
.SS Microsoft protocol
The
@@ -72,7 +72,7 @@ two's-complement,
.RI ( rb )
are set when the left (right)
button is pressed:
-.PP
+.P
.TS
center;
r c c c c c c c.
@@ -117,7 +117,7 @@ values.
.IR rb )
are cleared when the left (middle,
right) button is pressed:
-.PP
+.P
.TS
center;
r c c c c c c c c.
@@ -128,7 +128,7 @@ byte d7 d6 d5 d4 d3 d2 d1 d0
4 0 dxb6 dxb5 dxb4 dxb3 dxb2 dxb1 dxb0
5 0 dyb6 dyb5 dyb4 dyb3 dyb2 dyb1 dyb0
.TE
-.PP
+.P
Bytes 4 and 5 describe the change that occurred since bytes 2 and 3
were transmitted.
.SS Sun protocol
@@ -153,7 +153,7 @@ sign bit indicating a negative value.
.IR rb )
are
set when the left (middle, right) button is pressed:
-.PP
+.P
.TS
center;
r c c c c c c c c.