How to Plan a CircuitPython Macropad Layout (with a Bongo Cat Screen)
The Adafruit MacroPad RP2040 packs 12 mechanical keys with RGB LEDs, a rotary encoder, and a tiny OLED into one board you program in CircuitPython. Before writing any code, it helps to plan what each key does. Here’s how I laid mine out. The layout Input Action How Encoder turn Volume up/down Consumer Control VOLUME_INCREMENT / DECREMENT Encoder click Play/pause Consumer Control PLAY_PAUSE Key 1 Open my homelab dashboard Win+R, type the URL, Enter Key 2 Quick search Alt+Space (PowerToys Run / Command Palette) Key 3 File Explorer Win+E Key 4 Desk LEDs on/off Home Assistant service call Key 5 Cycle desk LED effect Home Assistant script Key 6 Screenshot Win+Shift+S Keys 7-10 Spare Room to grow Key 11 System mute Consumer Control MUTE Key 12 Discord mute Alt+M (set as Discord’s mute keybind), LED red when muted, green when live The OLED: bongo cat The screen shows a bongo cat all the time: ...