I'm working on a project at the moment that requires a single momentary button, however the whole thing will be inside a small enclosure, which I'd like to try get as "water resistant" as possible. I would like to be able to mount the button on the PCB, and my idea was to simply have a small rubber piece that squeezes through a hole in the enclosure, and presses the button (PCB would only be sitting a few mm away from the side of the enclosure).
Sounds simple enough .. but where do you get little rubber inserts like this? Are they usually custom made or is there something generic out there anyone is aware of?
Something like this, but in rubber:
Cheers