I'm looking for a momentary switch (like this one) that can be safely driven by the GPIO pins on a Raspberry Pi 1 Model A (hereafter RPi). This model of the RPi can sustain 3.3V and up to 16mA safely on its input pins.
The idea is that the switch will be open by default, but if a person is pushing down the momentary switch, it will send a signal to a GPIO input pin and reacted to at the software layer. The moment the person releases pressure on the switch, it opens again and stops sending the signal. Additionally it would be wonderful if the switch illuminates while it is being pressed.
Can a momentary switch like this be wired to safely work with this particular of RPI? If not, why? If so, what types of support devices (transistors, receivers, capacitors, etc.) would need to be put in place?