|
This Application
Note provides information for users of the VIP-327-PS and VIP-327-SP
to determine the compatiblity of serial mice protocols and drivers
used with these Vetra devices. There are several possible formats
that serial mice can use, however, the Vetra devices use only
the format shown below.
Com Port Mouse Data Format:
Data is transferred in the form of seven-bit data bytes, one stop bit, and no parity. Each report consists of three bytes. X and Y are relative movements. X movement is positive to the right and negative to the left. Y movement is positive in the down direction and negative in the up direction. Mouse data is sent only when there is data to send (e.g. movement or button press / release). The mouse reports data at a maximum rate of 40 Hz. The mouse will transmit an "M" when RTS goes from 1 to 0 (negative voltage to positive voltage). Mouse drivers use this feature to determine which com port, if any, a mouse is connected to.
Packet Format:
BYTE | B6 | B5 | B4 | B3 | B2 | B1 | B0 |
1 | 1 | L | R | Y7 | Y6 | X7 | X6 |
2 | 0 | X5 | X4 | X3 | X2 | X1 | X0 |
3 | 0 | Y5 | Y4 | Y3 | Y2 | Y1 | Y0 |
7 DATA BITS, 1 STOP BIT, NO PARITY (40 PACKETS PER SECOND MAXIMUM)
L & R = LEFT AND RIGHT CLICK BUTTON DATA (1 = KEY DEPRESSED)
X7 - X0 = X DISTANCE IN AN 8-BIT TWO'S COMPLEMENT FORMAT, RANGE -128 TO 127
Y7 - Y0 = Y DISTANCE IN AN 8-BIT TWO'S COMPLEMENT FORMAT, RANGE -128 TO 127
DB9 Pin-out and Signal Data (Data to PC):
DB9 PIN # | SIGNAL NAME | SIGNAL DESCRIPTION |
1 | CLK / CD | CLOCK |
2 | RXD | RECEIVE DATA |
3 | TXD | TRANSMIT DATA |
4 | DTR | DATA TERMINAL READY |
5 | GND | SIGNAL GROUND |
6 | N/A | NO CONNECTION |
7 | RTS | REQUEST TO SEND |
8 | +5 / CTS | +5V |
9 | DATA / RI | DATA |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
275 Marcus Blvd. Ste-J Hauppauge, NY 11788-2022 USA Tel: 631-434-3185 Fax: 631-434-3516 e-mail: sales@vetra.com |