From: Fred Kleinsorge <kleinsorge@star.enet.dec_nospam.com>
Subject: Re: Ode to the DEC Round Mouse
Date: 1998/10/12 [thread overview]
Message-ID: <3622306E.6B4F7244@star.enet.dec_nospam.com> (raw)
In-Reply-To: F0MHr0.Mw6@world.std.com
Michael Moroney wrote:
>
> For anyone imclined to try "hacking" the mouse, the pinout is:
>
> 1 GND
> 2 TX DATA
> 3 RX DATA
> 4 -12V
> 5 +5V
> other pins NC
>
> It's 4800 bps, 1 start bit, 1 stop bit, odd parity.
> It has 2 modes, polled and non-polled. It accepts 1 byte commands to
> switch modes, poll it or reset it. I believe "T" resets it,
> "D", "P", "R", "S", "s" do something but I don't know what.
1 GND
2 TXD
3 RXD
4 -12v
5 +5v
6 Not Used
7 Device Present (shorted to pin 1)
Shell - protective ground
Power: +5v +/- 5% at < 150 mA
-8v to -13v at < 20 mA
Signals: RS-232 voltage-level-compatable
4800 baud, 1 stop bit. odd parity. parity ignored on incomming
data (it also ignores bit 7).
7-pin mico-DIN (male). Pin out (+ == connector key):
+
5 6 7
3 4
+1 2+
Commands:
R Select incremental stream mode
D Select prompt mode
P Request mouse position (also enters prompt mode)
T Self tes, & identify
Z xx Reserved (test functions)
Data format:
7 6 5 4 3 2 1 0
-------------------------------------
1 0 0 sx sy L M R Byte 1
0 x6 x5 x4 x3 x2 x1 x0 Byte 2
0 y6 y5 y4 y3 y2 y1 y0 Byte 3
Bit 7, byte 1 - Phasing. Bit 7 always clear for byte 2 & 3
Byte DATA bits 5 & 6 always 0
sx, sy sign bits. 1= positive, 0 = negative
L, M, R - button bits, 1 = depressed
X6-X0 - X displacement
Y6-Y0 - Y displacement
Self test, and power up:
7 6 5 4 3 2 1 0
-------------------------------------
1 0 1 0 r3 r2 r1 r0 Byte 1
0 m2 m1 m0 0 0 1 0 Byte 2
0 e6 e5 e4 e3 e2 e1 e0 Byte 3
0 0 0 0 0 L M R Byte 4
Byte 1, bit 7 always set.
Byte 1 bit 6 always clear, bit 5 always set -- MOUSE connected.
R3-R0 - revision
M2-M0 - Maufacturer location code
E6-E0 - Error code
L, M, R - If byte 3 is "=" (0x3d) - button error, mask determines
which button), if byte 3 is > 0x20 other error, if byte 3 < 0x20
no error, LMR are current button state.
prev parent reply other threads:[~1998-10-12 4:00 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-29 4:00 Ode to the DEC Round Mouse Jay Ponder
1998-09-30 4:00 ` Peter da Silva
1998-09-30 4:00 ` Antonio Carlini
1998-09-30 4:00 ` Pat Gunn
1998-10-01 4:00 ` Bob Koehler
1998-09-30 4:00 ` Jay Maynard
1998-10-01 4:00 ` Antonio Carlini
1998-10-01 4:00 ` auke
1998-10-23 4:00 ` erepacholi
1998-10-01 4:00 ` Monty Brandenberg
1998-10-02 4:00 ` Dr Ivan D Reid, muSR Facility
1998-10-04 4:00 ` Monty Brandenberg
1998-10-05 4:00 ` Monty Brandenberg
1998-10-05 4:00 ` Fred Kleinsorge
1998-10-05 4:00 ` Andrew C. Stoffel
1998-10-05 4:00 ` John Wilson
1998-10-06 4:00 ` Reg Burgesss
1998-10-03 4:00 ` Terry Kennedy
1998-10-03 4:00 ` Richard Jordan
1998-10-05 4:00 ` eebinger
1998-10-06 4:00 ` Bob DeBula
1998-10-06 4:00 ` Monty Brandenberg
1998-10-10 4:00 ` Michael Moroney
1998-10-12 4:00 ` Fred Kleinsorge [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox