News for hackers. Stuff that matters.
Re:Keyboard Latency (2017) by AussieWog93 on Friday September 03, 2021 @02:14AM (#28400973)
>Also wondering how much PS/2 vs USB matters.

I had to get to grips with the USB spec when designing my USB scope [1].

Adherence to the USB spec itself doesn't necessarily create human-perceptible latency; HID frames can be transmitted every 1 ms and could be parsed in a negligible number of CPU cycles on an embedded machine with USB-OTG and no operating system.

Like everything, the noticeable lag appears because the application-layer software is going through 15 layers of abstraction rather than talking directly to the input device, and this can become as complex and bloated as it wants.

[1] https://espotek.com/labrador/ (In case you become unable to resist your scope urge :P)

Re:Keyboard Latency (2017) by unwind on Friday September 03, 2021 @04:33AM (#28401762)
Thanks for sharing.

Micro typo alert on the Labrador landing page: "Everything was been" -> "Everything has been" or "Everything was", I guess. :)

Re:Keyboard Latency (2017) by puzzlingcaptcha on Friday September 03, 2021 @03:03AM (#28401205)
Thanks for sharing, that looks like a great hobbyist tool.
Re:Keyboard Latency (2017) by AussieWog93 on Friday September 03, 2021 @03:10AM (#28401244)
You're welcome. Not going to pass up an opportunity to shill my business on HN. :P