News for hackers. Stuff that matters.
Re:Desktop compositing latency is real by wolfgke on Tuesday November 21, 2017 @10:40AM (#15748584)
> Could someone explain to me why on earth 15ms of lag for a key press is considered good? It is a switch for gods sake. It should be near instant.

I don't claim that 15ms of lag is to be considered good, but the problem that one has to solve is debouncing the switches.

Re:Desktop compositing latency is real by jws on Tuesday November 21, 2017 @11:03AM (#15748764)
Denouncing shouldn’t add lag. On the first closure detection you can send the key down code. You then need some debounce logic to decide when to send the key up code, but after the key is solidly down you are again in a state to send the key up code as soon as the up begins.

The only time there should be lag is when a very short keypress happens, the key up might be delayed while the controller rules out bounce.