Clicky working keyboard-like electronic momentary switchby
Model originally uploaded to Thingiverse at https://www.thingiverse.com/thing:6033145.
I often decide to tidy up my desk and workspace, to do that I sometimes displace buttons as I did for my second DIY monitor and my HDMI switch.
To make it easy and cool looking I decided to make a 3d printed model that uses only a spring and a common 6mm switch (the most common switches you can salvage from pretty much anything) to make a reliable, good-looking keyboard-like switch. The model has a moving piston that is guided that closes the switch located underneath it, the upper part has a stem on which you can mount most cherry MX compatible keycaps you can easily find on Thingiverse, unfortunately, my actual keyboard keycaps do not go on them but making them work would require making the stem way too thin and risking it snapping inside your key which is not the best, anyway I'll gladly tweak it for you if needed.
In addition to that, I've made a trace to keep four of them together, just pass the cable through the hole before soldering the switch and then after securing the wire slide into place the bottom part to keep all in place. I can make a bigger one but it would mean two cables for each switch that are to consider when routing them, anyway I can add custom ones if needed and if you want to make it yourself the vase of the switch is 20*20mm, just make the space for them and add a circular hole in the middle with a 5mm diameter. To make one of them all you need is:
A 7*12.5mm spring A common 6mm switch Hot Glue The assembly is simple and you can watch the gif to understand where to put all your stuff, there are two holes for the wires on the base, one is sideways and the other is on the bottom, just remember to pass the cable into the bottom hole if you're using it (and through the trace for multiple switches) before soldering it, it pretty much snaps into place but between the bottom part and the switch/body I would definitely suggest putting some hot glue to make it sturdier, due to the poor consistency of dimensions it might need it or not, in the worst situation you can ask me to resize it or use a file.
The keycap file is easy to find on thingiverse, i did not include it because it's not mine