7
« on: September 21, 2023, 05:31:08 PM »
The datasheet said "6ms bounce, 6ms jitter", so I tried 6ms, and had one bounce in couple dozen tests.... then I realised that the datasheet might be trying to tell me to use 12ms total... and then I said, hell, let's be safe, if the frame rate is so low anyway, and bumped it all the way up to 20 like the power button uses..... but then even at that point, I still got a single bounce in a few dozen more tests, so I gave up adjusting anything, lol. So yeah, the exact numbers are a little up for debate (especially since, like I mentioned in the pull request, I realised that there's actually a slight bug, in that it'll wait for the specified duration AFTER the signal settles.... but again, it didn't seem worth worrying about because these amounts are still imperceptibly small, to me.)