Can be directly connected to a Raspberry PI GPIO pin
Built-in protection resistor
The Monk Makes Squid Switch for Raspberry Piis a push button with leads terminated in female header sockets so that it can be directly connected between GND and a Raspberry Pi GPIO pin configured as a GPIO input.The Squid Button also includes a protection resistor built into one of its leads to prevent accidental short-circuits when connecting to your Raspberry Pi.
Ordered this to add a safe shutdown button to my pi. Instructions are easy to find on the web for the code. Did the job although was a little big for the position I wanted it on the case so had to modify it slightly. Works great though.