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.
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.