Connecting button as PC usb input via arduino I have button with 2 leads (one red and one black). I would like to connect it to PC which allows a press of the button to register as a key press on the computer. I understand an interface board is necessary and I currently have an arduino UNO board with me with a USB cable out to the computer. 

Can someone guide me in the right direction regarding soldering of the 2 wires to the board and the relevant sketches for the board itself?

Thank you very much

Regards
Ben
This is a great tutorial on exactly what you want to achieve:

http://mitchtech.net/arduino-usb-hid-keyboard/