macroduck

context-aware universal macro app

github

setup guide

Full walkthrough: hardware wiring, flashing, and using the app.

flash firmware

One-click flashing works in Chrome or Edge over USB. Plug your board in, click Install on its card, then pick your board's port when the browser asks.

esp32-c3 supermini

BUTTON_PIN = 4

xiao esp32-c3

BUTTON_PIN = 4

esp32-s3 supermini

BUTTON_PIN = 3

xiao esp32-s3

BUTTON_PIN = 3

any other board

flash the arduino sketch manually

  1. install arduino ide and your board package
  2. open the sketch, set BUTTON_PIN to your pin
  3. select board + com port, upload
download .ino

windows app

Portable, no python install needed. Unzip anywhere and run launch.bat. Ships with the bundled runtime.

download for windows run from source instead

quick start

  1. flash firmware to your board, or use test mode in the app with no hardware
  2. unzip the windows app and run launch.bat
  3. keep test mode off for real use, pick your board's com port, connect
  4. select an app in the list, record gestures, done

browser flashing needs chrome or edge. run with a console for debugging: src\runtime\python\python.exe src\main.py

troubleshooting

port won't open close arduino ide or serial monitor first; they hold the com port
no data from port wrong port selected, or firmware not flashed; unplug other boards
button does nothing wrong pin for the board, or the button isn't wired to gnd
flash blocked chrome/edge only; firefox and safari don't support web serial