delitomatoes@lemm.ee to Mechanical Keyboards@lemmy.ml · 3 days agoWhy are they called Switches and not Buttons?message-squaremessage-square6fedilinkarrow-up116arrow-down10file-text
arrow-up116arrow-down1message-squareWhy are they called Switches and not Buttons?delitomatoes@lemm.ee to Mechanical Keyboards@lemmy.ml · 3 days agomessage-square6fedilinkfile-text
minus-squareBaconIsAVeg@lemmy.mllinkfedilinkEnglisharrow-up3·3 days agoLike 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.
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.