The following describe valid commands:
Hex Code
Command
Description
FF
Reset
Thiscommandcausethemousetoenteraresetmodeanddoaninternalself-test.
FE
Resend
The system can send this command when it detects an error in any transmission
from the mouse. The Resend command could be sent following a mouse transmis-
sion and before the system enables the interface allowing the next mouse output.
On receipt of Resend, the mouse retransmits the previous three bytes if the previ-
ousoutputwasa3-bytepacket.Theprevioustwobytesifthepreviousoutputwasa
2-bytepacket,andthepreviousonebyteifthepreviousoutputwasa1-bytepacket,
unless the previous output from the mouse was a Resent command. In this case,
the mouse will resend the previous output prior to the Resend command. If a Re-
send command is received by the mouse from the host immediately following a
3-byte data packet transmission from the mouse to the host while the mouse is in
streammode.Themouseshouldresendthe3-bytedatapacketpriortoclearingthe
count accumulators.
F6
Set default
This command reinitializes all conditions to the power-on default state.
F5
Disable
This command is used in the stream mode to stop transmissions initiated from the
mouse. It responds to all other commands while disabled. If the mouse is in the
stream mode, it must be disabled before sending it any command that requires a
response.
F4
Enable
Begin transmission, if in stream mode
F3, XX
Set sampling
rate
In the stream mode, this command sets the sampling rate to the value indicated by
bytes hex XX shown in the following figure:
Second Byte hex XX (sample rate): hex 0A (10/sec), hex 14 (20/sec),
hex 28 (40/sec), hex 3C (60/sec), hex 50 (80/sec), hex 64 (100/sec),
hex C8 (200/sec)
F2
Read device type
This command always receives a response of hex 00
HT6523
Rev. 1.20
4
March 6, 2003
The response must be within 20ms, unless the host
inhibits the mouse output or inhibits the data transmis-
sions from the system that require a response. If the
host initiates a command or data transmission and the
response is invalid or has a parity error, the host re-
transmits the command or data. If after two retries the
response is still invalid or has a parity error, the host
resets the mouse.
Data Format
The following data report format is valid for the stream
and remote modes and is 3 bytes long:
Byte
Bit
Description
3
2
1
7
6-1
0
7
6-1
0
7
6
5
4
3
2
1
0
MSB of Y Data
Y Data
LSB of Y Data
MSB of X Data
X Data
LSB of X Data
Y Data Overflow 1=Overflow
X Data Overflow 1=Overflow
Y Data sign 1=Negative
X Data sign 1=Negative
Reserved always=1
Reserved for middle Button
Right Button Status 1=Pressed
Left Button Status 1=Pressed
Commands
The following table lists all the valid commands:
Hex Code
Command
FF
FE
F6
F5
F4
F3
F2
F0
EE
EC
EB
EA
E9
E8
E7
E6
Reset
Resend
Set default
Disable
Enable
Set sampling rate
Read device type
Set remote mode
Set wrap mode
Reset wrap mode
Read data
Set stream mode
Status request
Set resolution
Set scaling 2:1
Reset scaling