No need for support, simple switch with roller and optional socket (wire could directly be soldered to switch). How to wire and stuff is showed in this guys video:
https://www.youtube.com/watch?v=2l7c3A6_eT4&list=PL4uOUQa48Sii1aqiq2XS3fQ5Gb0aNpIxP&index=8&t=200s
I built marlin for myself for my purpose, so it is not tested.
Version 1 have a few minor flaws:
Supports only needed for couple part :)
The author hasn't provided the model origin yet.