Re:Nvidia Unveils GeForce RTX 30 Series GPUs
by vlovich123 on Tuesday September 01, 2020 @08:20PM
(#24348693)
What’s a properly designed denounce circuit look like that adds 0 latency? Also, for anything that’s a gesture (eg double-click on a mouse) you need time to disambiguate. I wouldn’t be surprised if there’s something similar for the laser in terms of translating the analog signal to digital and then processing it and converting it into HID events the OS can understand.
[ Parent
| on HN ]
Re:Nvidia Unveils GeForce RTX 30 Series GPUs
by jrockway on Tuesday September 01, 2020 @09:13PM
(#24349031)
You send the key event and THEN start the debounce timer. I think most people tasked with writing a debounce function wait for the key state to change, then start a timer for how long they think the switch will bounce for, check the state after the timer expires, and then send the key event. Obviously, that adds latency. But what you can do instead is send the key event immediately and then completely ignore events during the debounce interval.
Re:Nvidia Unveils GeForce RTX 30 Series GPUs
by CamperBob2 on Tuesday September 01, 2020 @10:21PM
(#24349404)
Simple, you just ignore further input for x milliseconds after the first state change, where x is slightly less than the fastest supported double-click interval.
You certainly don't want to low-pass filter the whole thing, or otherwise wait for the contact to settle before reporting the keystroke or mouse click.