The Doom Scroller
Ladies and gentlemen, I give you the Doom Scroller.
This is a Raspberry Pi Pico, a breadboard, a rotary encoder, a button, a suction cup, and an Altoid tin begging to be released from this mortal coil.
I got the idea from MaxMacSTN trolling for 3D prints. I've extended his code a bit such that it does this:
Mode Number | Clockwise Function | Counter Function | Short Press |
---|---|---|---|
0 | Volume up | Volume Down | Play/Pause |
1 | Scroll Down | Scroll Up Issue | win-D |
2 | Next Song | Previous Song | F13 |
In my config for I3, F13 is the start for ncmpcpp, and Win-D is Rofi. You switch modes by holding down the knob for a second.
For now, the button on the side is a reset. If you hold the knob down while doing it, the Pico allows you to modify the code it runs. Mode 1 also functions well as an SDR tuner.
I have three more encoders, and I'm strongly considering adding some function before finally designing and printing something a little more permanent. I gotta tell you, doom scrolling this way is a dopamine well.