From 099f401be27975e2719e3ae2db359a065fd82b54 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 12 Aug 2017 22:52:44 +0200 Subject: [PATCH] mouse.4: srcfix Reported-by: Sam Varshavchik Signed-off-by: Michael Kerrisk --- man4/mouse.4 | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/man4/mouse.4 b/man4/mouse.4 index dcc45aadb..1805c2935 100644 --- a/man4/mouse.4 +++ b/man4/mouse.4 @@ -33,6 +33,7 @@ for a description. .SH DESCRIPTION .SS Introduction The pinout of the usual 9 pin plug as used for serial mice is: +.PP .TS center; r c l. @@ -43,7 +44,7 @@ pin name used for 7 RTS +12 V, Imax = 10 mA 5 GND Ground .TE - +.PP This is the specification, in fact 9 V suffices with most mice. .PP The mouse driver can recognize a mouse by dropping RTS to low and raising @@ -63,6 +64,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 .TS center; l l. @@ -72,7 +74,7 @@ bit/s string 2400 *o 1200 *n .TE - +.PP The first byte of a data packet can be used for synchronization purposes. .SS Microsoft protocol The @@ -90,7 +92,7 @@ two's-complement, .RI ( rb ) are set when the left (right) button is pressed: -.nf +.PP .TS center; r c c c c c c c. @@ -99,7 +101,6 @@ byte d6 d5 d4 d3 d2 d1 d0 2 0 dx5 dx4 dx3 dx2 dx1 dx0 3 0 dy5 dy4 dy3 dy2 dy1 dy0 .TE -.fi .SS 3-button Microsoft protocol Original Microsoft mice only have two buttons. However, there are some @@ -136,7 +137,7 @@ values. .IR rb ) are cleared when the left (middle, right) button is pressed: -.nf +.PP .TS center; r c c c c c c c c. @@ -147,8 +148,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 -.fi - +.PP Bytes 4 and 5 describe the change that occurred since bytes 2 and 3 were transmitted. .SS Sun protocol @@ -173,7 +173,7 @@ sign bit indicating a negative value. .IR rb ) are set when the left (middle, right) button is pressed: -.nf +.PP .TS center; r c c c c c c c c. @@ -182,7 +182,6 @@ byte d7 d6 d5 d4 d3 d2 d1 d0 2 0 dx6 dx5 dx4 dx3 dx2 dx1 dx0 3 0 dy6 dy5 dy4 dy3 dy2 dy1 dy0 .TE -.fi .SH FILES .TP .I /dev/mouse