News for hackers. Stuff that matters.
Re:How does a USB keyboard work? (2021) [video] by zargon on Saturday July 02, 2022 @05:00PM (#31962354)
A USB mouse just sends x/y distance traveled over USB HID protocol. All the details are integrated into silicon. The sensor is a camera and the processor diffs the images to calculate the distance. To learn about the algorithms for that you could look into patents by Avago or PixArt.

There are no comments on this comment yet.