HT82M25X
Rev. 1.00
5
May 14, 2007
Functional Description
PS/2 Mouse
PS/2 status byte
Byte 1
Bit 7: Reserved
Bit 6: 0=Stream Mode, 1=Remote Mode
Bit 5: 0=Disabled, 1=Enabled
Bit 4: 0=Scaling 1:1, 1=Scaling 2:1
Bit 3: 1=Wrap Mode, 0=Stream or Remote
(different from IBM specs.)
Bit 2: 1=Left Button Pressed
Bit 1: 1=Middle Button Pressed
Bit 0: 1=Right Button Pressed
Byte 2
Bit 0~7 current resolution setting
(Bit 0=LSB)
Byte 3
Bit 0~7 current sampling rate (Bit 0=LSB)
Standard PS/2 data format
(HT82M25A/HT82M25A-1, HT82M25B/HT82M25B-1)
Bit No.
7
6
5
4
3
2
1
0
1st word
YV
XV
YS
XS
1
M
R
L
2nd word
X7
X6
X5
X4
X3
X2
X1
X0
3rd word
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
Data format for 3D PS/2
(HT82M25A/HT82M25A-1, HT82M25B/HT82M25B-1)
Bit No.
7
6
5
4
3
2
1
0
1st word
YV
XV
YS
XS
1
M
R
L
2nd word
X7
X6
X5
X4
X3
X2
X1
X0
3rd word
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
4th word
Z7
Z6
Z5
Z4
Z3
Z2
Z1
Z0
Note:
The X/Y data report is 9-bit 2 s complement
The Z data report is 8-bit 2 s complement
Data format for 5-button Wheel Mouse
(HT82M25A/HT82M25A-1)
Bit No.
7
6
5
4
3
2
1
0
1st word
0
0
YS
XS
1
M
R
L
2nd word
X7
X6
X5
X4
X3
X2
X1
X0
3rd word
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
4th word
0
0
RB1 RB0 Z3
Z2
Z1
Z0
Note:
X-movementtowardstherightispositive, mov-
ing towards the left is negative
Y- upward movement is positive, moving down
is negative
Z- rolling towards the user is positive, otherwise
negative
Button status: 1=pressed, 0=released
For the HT82M25B/HT82M25B-1, HT82M25C/
HT82M25C-1, the mouse mode changes between
Standard and 3D PS/2 mode.
Sending the commands in the following sequence will
set the mouse to the 3D PS/2 mode.
Command
Response From Mouse
F3h
FAh
C8h
FAh
F3h
FAh
64h
FAh
F3h
FAh
50h
FAh
F2h
FAh, 03h
For the HT82M25A/HT82M25A-1, the mouse mode
changes between Standard and Windows 2000 PS/2
mode.
Sending the commands in the following sequence will
set the mouse to the Windows 2000 PS/2 mode.
Command
Response From Mouse
F3h
FAh
C8h
FAh
F3h
FAh
C8h
FAh
F3h
FAh
50h
FAh
F2h
FAh, 04h
At any time the PC sends a reset FFh command
to the mouse, it will reset the mouse to Standard
PS/2 mode.
After a power-on reset is initiated, the mouse is set to
Standard PS/2 mode.
USB mouse data format for 3D mode
(HT82M25A/HT82M25A-1, HT82M25B/HT82M25B-1,
HT82M25C/HT82M25C-1)
Bit No.
7
6
5
4
3
2
1
0
1st word
0
0
0
0
0
M
R
L
2nd word
X7
X6
X5
X4
X3
X2
X1
X0
3rd word
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
4th word
Z7
Z6
Z5
Z4
Z3
Z2
Z1
Z0