Turn on voltage when input is grounded
To switch a supply voltage to a device by means of a grounded switch, you can use a P channel MOSFET. If the switch is not pressed, then the P-MOSFET is not conducting.
Something like this:



simulate this circuit &ndash; Schematic created using CircuitLab