I'm currently turning my pi into a retro gaming unit.
I have used pins 2,3,4,17 and GND for the joystick.
Button 1: 18 & GND
Button 2: 23 & GND
Button 3: 24 & GND
Button 4: 7 & GND
Button 5: 11 & 8 (assigned as GND)
Button 6: 9 & 25 (assigned as GND)
Button 7: 27 & 22 (assigned as GND)
I need to add one more button but on have GPIO 10 left along with the two 3.3v pins and 5v0 pins. My question is: is it safe to assign 10 as GND and connect a button to it and a 3.3v or 5v0 pin? Would the current from the 3.3v pin damage the button or the pi board?