ht82m25a Holtek Semiconductor Inc., ht82m25a Datasheet - Page 5

no-image

ht82m25a

Manufacturer Part Number
ht82m25a
Description
Ht82m25x -- 3/5-key Usb+ps/2 Optical Mouse Controller
Manufacturer
Holtek Semiconductor Inc.
Datasheet
Functional Description
PS/2 Mouse
Note:
Note:
Rev. 1.00
1st word
2nd word
3rd word
1st word
2nd word
3rd word
4th word
1st word
2nd word
3rd word
4th word
PS/2 status byte
Standard PS/2 data format
(HT82M25A/HT82M25A-1, HT82M25B/HT82M25B-1)
Data format for 3D PS/2
(HT82M25A/HT82M25A-1, HT82M25B/HT82M25B-1)
Data format for 5-button Wheel Mouse
(HT82M25A/HT82M25A-1)
Bit No.
Bit No.
Bit No.
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
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)
(different from IBM specs.)
The X/Y data report is 9-bit 2 s complement
The Z data report is 8-bit 2 s complement
X- movement towards the right is positive, 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
YV XV YS XS
YV XV YS XS
X7
Y7
X7
Y7
Z7
X7
Y7
7
7
7
0
0
X6
Y6
X6
Y6
Z6
X6
Y6
6
6
6
0
0
RB1 RB0 Z3
X5
Y5
X5
Y5
YS XS
X5
Y5
Z5
5
5
5
X4
Y4
X4
Y4
X4
Y4
Z4
4
4
4
X3
Y3
X3
Y3
Z3
X3
Y3
3
1
3
1
3
1
X2
Y2
X2
Y2
Z2
X2
Y2
Z2
M
M
M
2
2
2
X1
Y1
X1
Y1
X1
Y1
Z1
Z1
R
R
R
1
1
1
X0
Y0
X0
Y0
X0
Y0
Z0
Z0
0
L
0
L
0
L
5
After a power-on reset is initiated, the mouse is set to
Standard PS/2 mode.
1st word
2nd word
3rd word
4th word
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.
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.
USB mouse data format for 3D mode
(HT82M25A/HT82M25A-1, HT82M25B/HT82M25B-1,
HT82M25C/HT82M25C-1)
Command
Command
Bit No.
F3h
C8h
F3h
64h
F3h
50h
F2h
F3h
C8h
F3h
C8h
F3h
50h
F2h
At any time the PC sends a reset FFh command
to the mouse, it will reset the mouse to Standard
PS/2 mode.
X7
Y7
Z7
7
0
X6
Y6
Z6
6
0
Response From Mouse
Response From Mouse
FAh
FAh
FAh
FAh
FAh
FAh
FAh, 03h
FAh
FAh
FAh
FAh
FAh
FAh
FAh, 04h
X5
Y5
Z5
5
0
X4
Y4
Z4
4
0
X3
Y3
Z3
3
0
HT82M25X
X2
Y2
Z2
M
2
May 14, 2007
X1
Y1
Z1
R
1
X0
Y0
Z0
0
L

Related parts for ht82m25a