PixArt Imaging Inc.
PAW3402 / PAW3412
PS/2 Optical Mouse SOC
5. PS/2 Command Set Description
There are 16 valid commands that transmit between the system and the PS/2 Mouse. All other commands will
cause an FE (Resend) response from the PS/2 Mouse. A second invalid command will cause an FC (error)
response from the PS/2 Mouse.
5.1 PS/2 Command Set
Hex Code
FF
Command
Reset
Response
FA, AA, 00
FE
Resend
XX, (XX, XX)
F6
Set Default
FA
F5
Disable
FA
F4
Enable
FA
F3, XX
F2
F0
EE
EC
Set Sampling Rate
Read Device Type
Set Remote Mode
Set Wrap Mode
Reset Wrap Mode
Read Data
FA, FA
FA, 00
FA
FA
FA
EB
FA, XX, XX, XX
EA
E9
E8, XX
E7
E6
Set Stream Mode
Status Request
Set Resolution
Set Scaling 2:1
Reset Scaling
FA
FA, XX, XX, XX
FA, FA
FA
FA
5.2 Set Sampling Rate (F3, XX)
Second Byte Hex Value (XX)
Sampling Rate
0A
14
28
3C
50
64
C8
10/sec
20/sec
40/sec
60/sec
80/sec
100/sec
200/sec
5.3 Status Request (E9)
Byte
1
Bit
0
1
Symbol
BR
BM
Description
1 = Right button pressed.
1 = Middle button pressed.
2
BL
1 = Left button pressed.
3
4
5
6
7
0-7
0-7
0
Always = 0, reserved for future use.
0 = Scaling 1:1; 1 = Scaling 2:1.
0 = Disabled; 1 = Enabled.
0 = Stream mode; 1 = Remote mode.
Always=0, reserved for future use.
Current resolution setting. Bit 0=LSB.
Current sampling rate. Bit 0=LSB.
Scaling
Enabled
Remote mode
0
Resolution
Sampling rate
2
3
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
8
E-mail: fae_service@pixart.com.tw
V1.0, Feb. 2008