https://www.youtube.com/watch?v=gzG1hSg30aY
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
foot-base.stl | 109.8KB | |
foot-bracket.stl | 38.2KB | |
foot-top.stl | 278.9KB |