• Why I Made the Choices I did

    eric06/18/2021 at 21:17 0 comments

    As completed, this is a very simple design with 2 buttons. Of course, it is very easy to add more buttons until you run out of QTPy pins.


    I had a couple QTPys laying around because they're so cheap why not have one or two around? They've gone up on price a bit to $7.50 (probably due to the chip shortage thing), but even then they're still cheap compared to a typical Adafruit or Arduino board. With CircuitPython they appear as a HID device on your computer - that means a keyboard or mouse (and maybe other things, too?)

    The code is pretty self-explanatory, but I chose to go with REC and PAUSE because some games, especially if they were made before streaming was a thing, do not like me alt-tabbing out to start the recording. I imagined potentially adding more buttons and didn't want to have to memorize a bunch of keystrokes to perform various OBS tasks.

    Usage is pretty simple - just plug it into your computer and it's recognized as a HID device and then just works.