This DIY foot switch controller simulates USB HID devices. It sends keypresses just like a keyboard or mouse. It can be used as an additional keyboard, let's say you'd like to do overhead photography and use both hands but also want to trigger the camera at the same time.
Full tutorial, code, circuit diagram & source files:
https://learn.adafruit.com/USB-foot-switch-circuit-python/overview
Visit the Adafruit shop online - http://www.adafruit.com
Adafruit on Instagram: https://www.instagram.com/adafruit
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
Join our weekly Show & Tell on G+ Hangouts On Air: http://adafru.it/showtell
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/
-----------------------------------------