⚙️ DIY Macro Keyboard

Photo of a DIY macro keyboard sitting next to a laptop: a block of oak wood with two mechanical keyboard switches mounted on top, connected to a Raspberry Pi Pico device on the rear side. The key caps are mint green and pastel orange.

Thonny IDE

CircuitPython firmware

CircuitPython HID library

  • On GitHub, go to Code > Download Zip to download the HID library files. Unzip the file.
  • Drag the directory adafruit_hid to your Pi Pico device, or transfer it using Thonny. (Note: Don’t transfer the entire GitHub repository directory, just the subdirectory called adafruit_hid.)

Example code

How-to zine (work in progress, temporary link)