Hacker News new | past | comments | ask | show | jobs | submit login

The guy in the video is confused. He says

> The default keyboard handling on a DOS PC are meant for typing. So any time you hit a key there is a debounce before the key is allowed to repeat continuously, usually on the order of a quarter second to a half second.

What he is describing is the keyboard driver autorepeat feature, if you hold down a key for a while the driver will generate a sequence of virtual keypresses. This is just a software convention, it's also possible to read the state of the keys directly (pressed down or not) instead of treating them in terms of key-press events. Using the word debouncing for this is incorrect.

Debouncing happens on a millisecond time scale, it's due to the key actually physically bouncing.




> it's due to the key actually physically bouncing.

More precisely: it is due to the contacts bouncing, they don't close just once when they touch each other, they rebound and close again, this repeats a number of times before they finally settle.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: