OSDN Git Service

(split) LDP: Update draft pages
[linuxjm/LDP_man-pages.git] / draft / man4 / mouse.4
index d26723c..ad42467 100644 (file)
@@ -69,10 +69,10 @@ bit/s       string
 
 データパケットの第 1 バイトは同期をとるのに利用できる。
 .SS "マイクロソフト プロトコル(Microsoft Protocol)"
 
 データパケットの第 1 バイトは同期をとるのに利用できる。
 .SS "マイクロソフト プロトコル(Microsoft Protocol)"
-The \fBMicrosoft\fP protocol uses 1 start bit, 7 data bits, no parity and one
-stop bit at the speed of 1200 bits/sec.  Data is sent to RxD in 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:
+\fBマイクロソフト\fPプロトコルは、1200 bits/sec のスピードで、1 ス タートビット(1 start bit)、7 データビット(7
+data bits)、パリティな し、1 ストップビット(1 stop bit)である。 データは RxD に 3
+バイトのパケットとして送られる。\fIdx\fP と \fIdy\fP の動きは 2 の補数表示で送られ、左(右)のボタンが押された時には \fIlb\fP
+(\fIrb\fP)がセットされる。
 .TS
 center;
 r c c c c c c c.
 .TS
 center;
 r c c c c c c c.
@@ -90,11 +90,9 @@ byte d6      d5      d4      d3      d2      d1      d0
 パケットが送られる。真中のボタンが押されていると、4バイトのパケットが 送られる。第4バイトは 0x20 の値を持っている(あるいは、少なくとも
 0x20 ビットがセットされている)。 但し、他のボタンが押されていない状態で、 真中のボタンが押されると、0,0,0,0x20 と伝えられる。
 .SS "マウスシステムズ プロトコル(Mousesystems protocol)"
 パケットが送られる。真中のボタンが押されていると、4バイトのパケットが 送られる。第4バイトは 0x20 の値を持っている(あるいは、少なくとも
 0x20 ビットがセットされている)。 但し、他のボタンが押されていない状態で、 真中のボタンが押されると、0,0,0,0x20 と伝えられる。
 .SS "マウスシステムズ プロトコル(Mousesystems protocol)"
-The \fBMousesystems\fP protocol uses 1 start bit, 8 data bits, no parity and
-two stop bits at the speed of 1200 bits/sec.  Data is sent to RxD in 5\-byte
-packets.  \fIdx\fP is sent as the sum of the two two's\-complement 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:
+\fBマウスシステムズ\fPプロトコルは、1200 bits/secで、1 スタートビット、 8 データビット、パリティなし、2 ストップビットである。
+データは、RxD に 5 バイトのパケットとして送られる。\fIdx\fP は 2 つの 2 の補数の和として送られ、\fIdy\fP は 2 つの 2
+の補数の和の否定 として送られる。左(中、右)のボタンが押された時には\fIlb\fP (\fImb\fP, \fIrb\fP) がクリアされる。
 .TS
 center;
 r c c c c c c c c.
 .TS
 center;
 r c c c c c c c c.
@@ -110,11 +108,9 @@ byte       d7      d6      d5      d4      d3      d2      d1      d0
 .SS "サン プロトコル(Sun protocol)"
 \fBサン\fP プロトコルは、上記の 5 バイト マウスシステムプロトコルの 3 バイト版です。後の 2 バイトは送られません。
 .SS "MM プロトコル(MM protocol)"
 .SS "サン プロトコル(Sun protocol)"
 \fBサン\fP プロトコルは、上記の 5 バイト マウスシステムプロトコルの 3 バイト版です。後の 2 バイトは送られません。
 .SS "MM プロトコル(MM protocol)"
-The \fBMM\fP protocol uses 1 start bit, 8 data bits, odd parity and one stop
-bit at the speed of 1200 bits/sec.  Data is sent to RxD in 3\-byte 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:
+\fBMM\fP プロトコルは 1200 bits/sec で 1 スタートビット、8 データビッ ト、奇数パリティ、 1 ストップビットを使う。データは
+RxD に 3 バイトのパ ケットとして送られる。\fIdx\fP と \fIdy\fP は一つの符号つきの値として
+送られ、サインビットは負の値を表す。左(中、右)のボタンが押された時には \fIlb\fP (\fImb\fP, \fIrb\fP)がセットされる。
 .TS
 center;
 r c c c c c c c c.
 .TS
 center;
 r c c c c c c c c.