This are known mouse protokolls:

Mouse System format:

bit :  7  6  5  4  3  2  1  0

byte0  1  0  0  0  0  L  M  R
byte1  X7 X6 X5 X4 X3 X2 X1 X0
byte2  Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0
byte3  X7 X6 X5 X4 X3 X2 X1 X0
byte4  Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0

buttons: 0= Pressed, 1= Released


Microsoft format:

bit :  7  6  5  4  3  2  1  0

byte0  1  1  L  R  Y7 Y6 X7 X6
byte1  1  0  X5 X4 X3 X2 X1 X0
byte2  1  0  Y5 Y4 Y3 Y2 Y1 Y0

buttons: 1= Pressed, 0= Released




Logitech format:

bit :  7  6  5  4  3  2  1  0

???


L     = Left Key
M     = Middle Key
R     = Right Key
X7-X0 = X-Axis Movement Data
Y7-Y0 = Y-Axis Movement Data




Amiga:

pin

1     = vertical
2     = horizontal
3     = vertical quadrature
4     = horizontal quadrature
5     = Middle Key
6     = Left Key
7     = +5V
8     = ground
9     = Right Key

buttons: 0= Pressed, 1= Released




duesterb@unixserv.rz.fh-hannover.de, 03.01.97 
