データパケットの第 1 バイトは同期をとるのに利用できる。
.SS "マイクロソフト プロトコル(Microsoft Protocol)"
-\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)がセットされる。
+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:
.TS
center;
r c c c c c c c.
パケットが送られる。真中のボタンが押されていると、4バイトのパケットが 送られる。第4バイトは 0x20 の値を持っている(あるいは、少なくとも
0x20 ビットがセットされている)。 但し、他のボタンが押されていない状態で、 真中のボタンが押されると、0,0,0,0x20 と伝えられる。
.SS "マウスシステムズ プロトコル(Mousesystems protocol)"
-\fBマウスシステムズ\fPプロトコルは、1200 bits/secで、1 スタートビット、 8 データビット、パリティなし、2 ストップビットである。
-データは、RxD に 5 バイトのパケットとして送られる。\fIdx\fP は 2 つの 2 の補数の和として送られ、\fIdy\fP は 2 つの 2
-の補数の和の否定 として送られる。左(中、右)のボタンが押された時には\fIlb\fP (\fImb\fP, \fIrb\fP) がクリアされる。
+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:
.TS
center;
r c c c c c c c c.
.SS "サン プロトコル(Sun protocol)"
\fBサン\fP プロトコルは、上記の 5 バイト マウスシステムプロトコルの 3 バイト版です。後の 2 バイトは送られません。
.SS "MM プロトコル(MM protocol)"
-\fBMM\fP プロトコルは 1200 bits/sec で 1 スタートビット、8 データビッ ト、奇数パリティ、 1 ストップビットを使う。データは
-RxD に 3 バイトのパ ケットとして送られる。\fIdx\fP と \fIdy\fP は一つの符号つきの値として
-送られ、サインビットは負の値を表す。左(中、右)のボタンが押された時には \fIlb\fP (\fImb\fP, \fIrb\fP)がセットされる。
+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:
.TS
center;
r c c c c c c c c.
.SH 関連項目
\fBttyS\fP(4), \fBgpm\fP(8)
.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man\-pages/ に書かれている。