News for hackers. Stuff that matters.
Re:Keyboard Latency (2017) by mkj on Friday September 03, 2021 @06:42AM (#28402514)
That's what I thought when I set my handwired keyboard firmware settings using QMK, just trigger on the edge. But then occasionally switching the exhaust fan switch in the room next door would make errant keystrokes, not cool, so I decided I could live with a few ms more latency. Maybe a proper PCB like a bought keyboard could be more noise immune though.
Re:Keyboard Latency (2017) by ComputerGuru on Friday September 03, 2021 @11:13AM (#28405287)
It was probably the best you could do in your position, but debounce is a hack to work around EMI and not the actual solution. Ideally, the circuit should be electrically resilient to EMI and the debounce should only be handling mechanical noise from the switch itself and not concern itself with any outside interference.
Re:Keyboard Latency (2017) by Ballas on Friday September 03, 2021 @07:56AM (#28402994)
I made an implementation of what I describe for TMK years ago. There is possibly a problem with the hardware design of your keyboard, probably too weak pull ups coupled with EMI susceptibility, of the hard-wiring. I am having no issues with false triggers on my end.