3 ms·
> 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 cla
by wolfgke 9y ago
> 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.
- jws 9y agoDenouncing 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.