Lab 4 Check
sh
machinelab test mouse
machinelab run --headless --script scripts/mouse_move.mlabscript -- build/examples/mouse_packetDiscussion Prompts
- Why does packet byte 0 include a constant synchronization bit?
- How would you implement drag detection?
- Which helpers would a drawing program need?
External Reading
- OSDev Mouse Input: https://wiki.osdev.org/Mouse_Input
- OSDev PS/2 Controller: https://wiki.osdev.org/"8042"_PS/2_Controller
- PS/2 Mouse Interface archive: https://web.archive.org/web/20180102104023/http://www.computer-engineering.org/ps2mouse/