Editing
Contact bounce
(section)
From Deskthority Wiki
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Debouncing== The process of filtering out contact bounce is called '''debouncing'''. Insufficient debouncing results in [[Chatter|key chatter]]. Most keyboards perform debouncing entirely on the [[keyboard controller]]. Once closure has been detected, the controller must wait the required debouncing time interval before attempting to detect the switch as open, and vice versa. A common method used for debouncing in firmware is to wait for contacts to be ''continuously'' closed (or open) for the debouncing interval before reporting it to be pressed (or released). This method is popular among engineers because it is also impervious to electrical noise and glitch in the switch contacts β but at the expense of added latency. Some [[firmware]] also focus on debouncing only one key at once, thus delaying debouncing of other keys that may have been pressed at the same time. [[Mouse button]]s, [[D-pad]]s, [[Joystick#Digital|digital joysticks]] and [[rotary encoder]]s may also have electric switch contacts that need to be debounced. When switches are few and not in a [[keyboard matrix|matrix]], debouncing can be done by an electronic circuit. Two-pin switches can be debounced with a ''low-pass filter'' that smoothens out the digital signal over time to an analogue curve. Contact is detected when the signal value is above a certain threshold. Three-pin switches with two pairs of contacts can be debounced using a [https://en.wikipedia.org/wiki/Flip-flop_(electronics) flip-flop] circuit.
Summary:
Please note that all contributions to Deskthority Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
Edit source
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Deskthority forum
Support Deskthority
Search
Main categories
Guides
Keyboards
Keyboard switches
Keycaps
Keyboard modding
Pointing devices
Brands & companies
Group buys
Other topics
Wiki info & links
Recent changes
Random page
All pages
Deskthority wiki help
MediaWiki help
Tools
What links here
Related changes
Special pages
Page information