How to make USB foot switch for PC (push to talk / macro)
Channel: Self Taught Stuff
Date: 27/01/2023

I made a foot switch to use it as a push to talk button for Discord.
Total cost (at the time) was $14.085USD
With a bit of research and learning, you can make complex macros and keybinds using this device.

Code: https://github.com/SelfTaughtStuff/pc_foot_switch

Key modifiers list: https://www.arduino.cc/reference/en/language/functions/usb/keyboard/keyboardmodifiers

ASCII table: https://www.asciitable.com

Keyboard library documentation: https://www.arduino.cc/reference/en/language/functions/usb/keyboard

Foot switch: https://www.aliexpress.com/item/32970094427.html

Arduino Pro Micro clone: https://www.aliexpress.com/item/32768308647.html

HEX DSL video: https://www.youtube.com/watch?v=YENLaPjnZCY

My Thingiverse: https://www.thingiverse.com/selftaughtstuff/designs

My Printables: https://www.printables.com/social/472555-self-taught-stuff/models