delitomatoes@lemm.ee to Mechanical Keyboards@lemmy.ml · 13 days agoWhy are they called Switches and not Buttons?message-squaremessage-square10fedilinkarrow-up121arrow-down10file-text
arrow-up121arrow-down1message-squareWhy are they called Switches and not Buttons?delitomatoes@lemm.ee to Mechanical Keyboards@lemmy.ml · 13 days agomessage-square10fedilinkfile-text
minus-squareBaconIsAVeg@lemmy.mllinkfedilinkEnglisharrow-up4arrow-down1·13 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.