@@ -9,13 +9,24 @@ http://www-ug.eecg.utoronto.ca/desl/nios_devices_SoC/datasheets/PS2%20Protocol.h
99http://www-ug.eecg.utoronto.ca/desl/nios_devices_SoC/datasheets/PS2%20Mouse%20Protocol.htm
1010
1111
12- ps2_mouse_host_setup_and_movement .sr
12+ ps2_qnx_mouse_initialize_and_move .sr
1313------------------------------
1414
15- This file contains a portion of setup from a QNX host to a trackball PS2 mouse.
15+ This file contains setup and communication between a QNX host and a standard mouse.
1616The mouse packets are 3 bytes long (standard mouse, no scrollwheel)
1717The sample includes x movement, y movement, and a click.
1818
19+ Initialize a ps2 mouse, configure it; the mouse then reports movement data.
20+ - Power is turned on, mouse resets
21+ - Host resets device, waits for reset to complete
22+ - Host waits for GUI to start (about 90 seconds)
23+ - Host sets sample rate to 40 samples/second
24+ - Host sets resolution to 8 counts/mm
25+ - Host enables data streaming
26+ - After a delay, the mouse is moved, and reports its changing location in a sequence of 3 bytes:
27+ - flags, x movement, y movement
28+ - The sample includes x and y movement, as well as two left clicks
29+
1930
2031ps2_microsoft_mouse_initialize_and_move.sr
2132------------------------------
0 commit comments