I spent part of the afternoon building this mini game controller: (video is bad, I would have needed three hands)
The “how” for most of this can be found here. I changed the Scratch code a bit, as I wanted an RGB LED, instead of three separate LEDs, but other than that, it’s pretty much the tutorial as is. Thank you Ben Miller!