I've got a generic push button of the typical breadboard type (1/5" contact leg distance) like this one:
As usual, it's attached to a +3.3 V lead with pull-up resistor, as well as GPIO and GND leads. On a breadboard I'd use the four elastic legs to attach the button. It will be used as a reset button and is therefore rather for "emergency" use.
Now I'd like to implant it into the front of my case, which will be equipped with a custom-made plastic front panel. Unfortunately, there is no PCB right behind the front panel (because there are other parts like keypad and display in the vicinity), just some case sheet metal. I can't find a ready-to-use connector I could then push into a drill hole in the sheet metal and secure it.
So: Is there a stable method to attach such a push button when you haven't got a PCB?