this post was submitted on 26 Feb 2025
21 points (100.0% liked)

Mechanical Keyboards

9256 readers
43 users here now

Are you addicted to the clicking sounds of your beautiful and impressive mechanical keyboard?
If so, this community is for you!

Here you can discuss everything about mechanical keyboards (and only mechanical keyboards).

Banner by Jay Zhang on Unsplash

founded 4 years ago
 

In a switch you get on/off, but a button returns to the original setting.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 5 days ago

Like you mention, button's have one state while switches have two. Keys have a KEYPRESS_DOWN and KEYPRESS_UP state, the latter firing when you release the key.

A button only has a down state.