Skip to content

Lab 4 Check

sh
machinelab test mouse
machinelab run --headless --script scripts/mouse_move.mlabscript -- build/examples/mouse_packet

Discussion 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

Course/docs licensed CC BY 4.0. Code licensed MIT.