DIY

Build your own deck

Macro Deck does not stop at phones, tablets and browsers. With the plugin SDK, a plugin can bring its own hardware into Macro Deck: a macro pad, a microcontroller panel, even an old e-reader.

Macro Deck keeps the profiles, folders, actions and settings. Your plugin shows the deck on the device and sends the presses back.

A white Kindle on a 3D-printed Macro Deck stand, showing a deck in greyscale on its e-ink screen

Showcase

An old Kindle as an e-ink deck

This Kindle was lying around unused, so it became a Macro Deck device. Macro Deck renders the keys and widgets of the Kindle's profile as greyscale images, a plugin sends them over the network, and a small client on the Kindle shows them and sends the taps back.

The Kindle uses the same device support any other hardware can use. Long presses, double taps and folders are handled by Macro Deck itself.

Rendered by Macro Deck
The Kindle draws nothing itself. It receives finished images of each key and widget.
Only what changed
The client redraws just the keys that changed, so the e-ink screen does not flash on every update.
More than a screen
The plugin adds actions for the orientation and the front light, and reports the Kindle's battery to Macro Deck.

This is an experiment, not a finished product. It needs a jailbroken Kindle, is not production ready and is not affiliated with Amazon.

A desk with the Macro Deck app on a monitor and the same deck on a phone, a smart display, a Kindle and a tablet in front of it
The same deck on a phone, a smart display, a Kindle and a tablet.

The SDK

What you get to build with

Hardware support lives entirely in your plugin. Macro Deck needs no device-specific code, and your plugin does not have to reinvent profiles, folders or settings.

  • Device providers

    Register your hardware as a device. Macro Deck gives it a name, a startup profile and its place in the device settings, and recognizes it when it reconnects.

    Device providers
  • Layout providers

    Describe the surface of your device: its regions, its grid and what it can render. Macro Deck fits a profile to the real hardware.

    Layout providers
  • The deck, ready to show

    Your plugin receives what is on the device's profile whenever it changes. Macro Deck can also render keys and widgets as images for devices that cannot draw them.

    Rendering a session
  • Still a plugin

    A device plugin can do everything a plugin can: report the device's battery, add actions for its lights or sensors and publish variables.

    Batteries

The SDK is written for .NET. Plugins talk to Macro Deck over a documented HTTP and WebSocket protocol, which is open for other runtimes and languages.Plugin protocol

Ideas

What could become a deck

None of these exist yet as far as we know. They are starting points for a free weekend.

  • A macro pad with real keys
  • An ESP32 panel with a small display
  • An e-ink status display for your desk
  • A control panel built into a sim rig

Built something?

Show it to the community. Macro Deck has grown from what people built for it, and the next odd device is welcome.