Repository navigation
Releases
Keyboard Macros 2.2.1
Clear help when the computer is not set up
If something the plugin needs is missing, you are told right away, with what to do and a link to the new setup guide.
- Missing access to keyboards (Linux): missing
uinputmodule, no access to/dev/uinput, or no readable keyboard. - Missing permissions (macOS): Accessibility, Input Monitoring.
How you are told:
- Desktop notification (Linux). It appears when OpenDeck starts, without opening anything, and stays on screen until you dismiss it. It lists each problem and its fix, with an Open the setup guide button. In the OpenDeck Flatpak, it comes from OpenDeck through the desktop's notification portal.
- Plugin editor.
- When macros cannot play at all, the editor shows only the setup message, with the guide button and a Check again button.
- When only recording is impossible, the message appears above the editor, which stays usable for macros typed by hand or imported.
- More precise messages. A missing
uinputmodule and denied access are now told apart: the first is fixed withsudo modprobe uinput, the second with theinputgroup. - OpenDeck's log gets the problem and the guide's URL at startup.
Setup guide
docs/SETUP.md covers:
- Linux: uinput module,
inputgroup, the extra step for Fedora Atomic (Silverblue, Kinoite, Bazzite), and a replay-only alternative with a udev rule; - macOS: permissions;
- Windows: nothing to set up.
For developers
KEYMACRO_SIMULATE_SETUP=uinput_denied,no_keyboardsmakes the plugin behave as if these were missing, to preview all of this without touching your system.- Minimum Rust version: 1.89.
Platforms
| Platform | Status |
|---|---|
| Linux x86_64 | Tested |
| Windows x86_64 | Tested |
| Linux ARM64, macOS (Intel + Apple Silicon) | Built and unit-tested, not yet tried on a real machine |
Install
Download KeyboardMacros-2.2.1.zip, then in OpenDeck use Plugins → "Install from file".
Keyboard Macros 2.2.0
Highlights
- Built on the official
openactioncrate. The connection to OpenDeck now uses the OpenAction plugin API library instead of hand-written WebSocket code. - Mouse gestures replay faithfully. Recorded movements now remember how many mouse reports each row holds, and playback splits them back into those small steps at the original pace. The desktop applies the same pointer acceleration as during the recording, so the cursor no longer overshoots. Re-record your mouse macros to benefit from it.
- Mouse-only recordings are no longer lost. Stopping a recording that only contained mouse movements with the editor's Stop button used to empty it.
Fixes and improvements
- More reliable recording Stop button.
- It acts on press.
- It no longer moves under the cursor, because the status bar stays on one line.
- It shows "Stopping…" until the engine confirms, and resynchronises on its own if no confirmation comes.
- The release of that press can no longer start a new recording.
- Unplugging a deck stops the macros started from it, so a looping macro cannot keep running without a key to stop it.
- About tab: lists the connected decks. Its links only open the plugin's own pages.
- Saved recordings get a check mark on the key.
- OpenDeck's log now receives the plugin's log lines, prefixed with
[Keyboard Macros]. Verbose lines stay inplugin.log. - The editor is refreshed by the engine each time it is shown.
Platforms
| Platform | Status |
|---|---|
| Linux x86_64 | Tested |
| Windows x86_64 | Tested |
| Linux ARM64, macOS (Intel + Apple Silicon) | Built and unit-tested, not yet tried on a real machine |
Install
Download KeyboardMacros-2.2.0.zip, then in OpenDeck use Plugins → "Install from file".
Keyboard Macros 2.1.1
Changes
- One language for every key. Changing the interface language in the Language tab now applies to every key and dial that uses the plugin. It is also remembered after a restart of OpenDeck. Before, each key's editor could keep its own language.
- Open editors update at once. OpenDeck keeps the editors it has already shown. They now switch language immediately, without reloading them.
- Global settings fix. Turning the verbose log (debug) on or off no longer erases the other plugin-wide settings.
For contributors
docs/ARCHITECTURE.mdexplains how the plugin works inside OpenDeck.AGENTS.md(imported byCLAUDE.md) gives instructions to AI coding agents.
Platforms
| Platform | Status |
|---|---|
| Linux x86_64 | Tested |
| Windows x86_64 | Tested |
| Linux ARM64, macOS (Intel + Apple Silicon) | Built and unit-tested, not yet tried on a real machine |
Install
Download KeyboardMacros-2.1.1.zip, then in OpenDeck use Plugins → "Install from file".
After updating, choose the language once more in the Language tab: it is now stored in a different place.
Keyboard Macros 2.1.0
New
- About tab: installed version, platform, OpenDeck version, links, and diagnostics that check what the plugin needs and explain how to fix it.
- Log viewer: refresh, copy, open folder or clear the log.
- Verbose log (debug) mode.
- Copy report button for bug reports.
- macOS support: one universal executable for Intel and Apple Silicon, macOS 10.15 or newer. It needs the Accessibility (playback) and Input Monitoring (recording) permissions. It has not been tried on a real Mac yet, and the executable is not signed by Apple.
- Per-platform key names: Super on Linux, Win on Windows, ⌘ Command and ⌥ Option on macOS.
Security and fixes
- The macro editor now escapes every value it displays, so a crafted macro, for example in a shared profile, cannot inject HTML.
- A huge delay value no longer crashes the plugin: delays are capped at one hour.
- On Linux, input devices are opened read-only for recording.
- A playback that ends no longer resets the key icon of a playback that has just started.
- Starting a recording stops the playback of the same key.
- A recording keeps at most 100,000 events.
- Delete buttons ask for a second click instead of a browser dialog.
Platforms
| Platform | Status |
|---|---|
| Linux x86_64 / ARM64 | Tested |
| Windows x86_64 | Tested |
| macOS (Intel + Apple Silicon) | Built and unit-tested, not yet tried on a real Mac |
Requirements
- No runtime is needed.
- On Linux, your user must be in the
inputgroup:sudo usermod -aG input $USER, then log out and back in.
Install
Download KeyboardMacros-2.1.0.zip, then in OpenDeck use Plugins → "Install from file".
Keyboard Macros 2.0.0
The plugin engine has been rewritten in Rust. Keyboard Macros is now a single self-contained executable: OpenDeck needs no runtime to run it (no Python, no Node.js).
Changes
- No dependency. The executables are static, so they run on any Linux distribution, in the OpenDeck Flatpak or a native install.
- New platforms. Builds for Linux x86_64, Linux ARM64 (aarch64) and Windows x86_64. OpenDeck picks the right one. Windows support is built and unit-tested automatically, but has not been tried on a real Windows machine yet.
- Fixed first delays. The first delays of a macro are no longer shortened the first time it plays.
- Unchanged. The editor, translations, icons and macro format stay the same, so existing macros keep working.
Requirements
On Linux, your user needs access to /dev/uinput and /dev/input/event*, usually by being in the input group: sudo usermod -aG input $USER, then log out and back in.
Install
Download KeyboardMacros-2.0.0.zip, then in OpenDeck use Plugins → "Install from file".
Keyboard Macros 1.3.1
Requirements
OpenDeck does not ship Python. This plugin needs:
- Python 3.8 or newer. It uses the standard library only, so no
pippackage is needed.- It is already included in the OpenDeck Flatpak runtime.
- With a native OpenDeck package, install it from your distribution:
sudo apt install python3(Debian / Ubuntu),sudo dnf install python3(Fedora),sudo pacman -S python(Arch).
- Access to
/dev/uinputand/dev/input/event*, usually by being in theinputgroup:sudo usermod -aG input $USER, then log out and back in.
Changes since 1.3.0
- New
run.shlauncher. It checks for Python 3.8+ before starting the plugin. If Python is missing, it writes the reason toplugin.logand to OpenDeck's log instead of failing silently. - The README now has a Requirements section.
Install
Download KeyboardMacros-1.3.1.zip, then in OpenDeck use Plugins → "Install from file". Linux only: Windows support exists in the source code but is not included in this release, and has not been tested yet.
Keyboard Macros 1.3.0
First public release of Keyboard Macros, an OpenDeck plugin that records, edits and replays keyboard and mouse macros.
Features
- Record keyboard input with its timing, and optionally mouse buttons, wheel and movements.
- Edit every event and its delay, with undo, delay tools and JSON import / export.
- Playback options: speed, repeats or loop, fixed delay.
- Stream Deck+ dials: one macro for the press, one for each rotation direction.
- Custom key appearance: image, color, text and state indicator.
- Interface in English and French, detected automatically.
Install
- From OpenDeck: once the plugin is in the OpenDeck catalogue, install it from the plugin list.
- Manually: download
KeyboardMacros-1.3.0.zip, then in OpenDeck use Plugins → "Install from file".
Requirements
- Linux with Python 3. The OpenDeck Flatpak already provides it.
- Your user must be able to access
/dev/uinputand/dev/input/event*, usually by being in theinputgroup.
Windows support exists in the source code but is not included in this release, and has not been tested yet. See the README to build it.