Serial mouse communication specifications

Communication specifications

Baud rate1200 bps
Start bit1
Data bit7
Parity bitNone
Stop bit1

Data format

DataD6D5D4D3D2D1D0
1st byte1LEFTRIGHTY7Y6X7X6
2nd byte0X5X4X3X2X1X0
3rd byte0Y5Y4Y3Y2Y1Y0
LEFT, RIGHTButton state
0:OFF / 1:ON
X[7:0]Amount of movement in the X direction (-128 to +127)
Right direction is positive
Y[7:0]Amount of movement in Y direction (-128 to +127)
Downward direction is positive