22
Bit 7
Bit 0
Byte 0
Y
Overflow
X Overflow Y sign
X sign
Always 1
Middle
Button
Right
button
Left button
Byte 1
X
X
X
X
X
X
X
X
Byte 2
Y
Y
Y
Y
Y
Y
Y
Y
Byte 3
Wheel*
Wheel*
Wheel*
Wheel*
Wheel*
Wheel*
Wheel*
Wheel*
Start Bit
(Always 0)
Data Bit
0
Data Bit
1
Data Bit
2
Data Bit
3
Data Bit
4
Data Bit
5
Data Bit
6
Data Bit
7
Odd Parity
Bit
Stop Bit
(Always 1)
After the following sequence of commands, the wheel report format is enabled.
0xF3, 0xC8
Set Sampling Rate 200 per second
0xF3, 0x64
Set Sampling Rate 100 per second
0xF3, 0x32
Set Sampling Rate 50 per second
0xF2, 0x03
Read Device Type returns a value of 0x03
After the Read Device Type command returns 0x03 to indicate that this is a Microsoft compatible
three button-wheel mouse, the wheel report format is enabled. After this initialization sequence,
the PS/2 wheel reporting format is enabled. The fourth byte represents the wheel data. This byte
is assigned 0x01 for forward wheel movement and 0xFF for backward wheel movement. When the
wheel is idle, this value is 0x00.
The PS2 data transmission according to the PS/2 Hardware Interface Technical Reference
including eleven bits for each byte sent. The bits are sent in the following order with data valid
on the falling edge of the clock. See the PS/2 Hardware Interface Technical Reference manual for
timing information.
Содержание ADNK-6003
Страница 17: ...17 Figure C2 PCB Schematic Top Layer Figure C1 PCB Schematic Bottom Layer Appendix C PCB Layout...
Страница 18: ...18 Figure C4 PCB Schematic Bottom Overlay Figure C3 PCB Schematic Top Overlay...
Страница 19: ...19 Appendix D Base Plate Feature Figure D1 Overall view of base plate...