Skip to content

catalogue: add com.mrbretzel.keymacro - #119

Open
MrBretze wants to merge 1 commit into
OpenActionAPI:mainfrom
MrBretze:add-keyboard-macros-v2
Open

MrBretze wants to merge 1 commit into
OpenActionAPI:mainfrom
MrBretze:add-keyboard-macros-v2

Conversation

@MrBretze

Copy link
Copy Markdown

Adds Keyboard Macros (com.mrbretzel.keymacro) to the Native OpenAction plugins section.

This replaces #117. In the earlier review, the plugin needed Python, which OpenDeck does not provide. The engine has since been rewritten in Rust, so the plugin is a single self-contained executable with no runtime dependency: no Python, no Node.js.

  • Repository: https://github.com/MrBretze/Keyboard-Macros

  • Latest release: v2.1.0. KeyboardMacros-2.1.0.zip contains com.mrbretzel.keymacro.sdPlugin/ with:

    • static Linux executables (x86_64 and aarch64, musl);
    • a Windows x86_64 executable;
    • a universal macOS executable.

    All four are built by GitHub Actions and selected through the manifest's CodePaths.

  • What it does: records keyboard input, and optionally mouse input, with its timing. Every event and delay can be edited, and the macro replays from a key or a Stream Deck+ dial (press, plus one macro per rotation direction).

  • How it simulates input:

    • Linux: uinput / evdev, so it works on Wayland.
    • Windows: SendInput and low-level hooks.
    • macOS: CoreGraphics events and an event tap.
  • Requirements: none from OpenDeck. On Linux, the user must be in the input group. On macOS, OpenDeck needs the Accessibility and Input Monitoring permissions. The README and the plugin's About tab (diagnostics) explain both.

  • Tested on: Linux (Flatpak OpenDeck, Wayland) and Windows. macOS is built and unit-tested in CI but has not been tried on a real Mac yet.

  • AI assistance: the entry is marked "ai_assisted": true, because the plugin was written with the help of an AI assistant.

The entry is in URL order within the section. validate_submission.py passes locally against main. The icon is a 512×512 PNG matching the plugin's manifest icon.

🤖 Generated with Claude Code

@Terrorwolf01

Copy link
Copy Markdown
Collaborator

Is there a reason why this doesn't sue the OpenAction crate for communication with OpenDeck?

@MrBretze

Copy link
Copy Markdown
Author

Honestly, no. Claude translated what I had done back then into Python.
I asked him to use the OpenAction crate.

@MrBretze

Copy link
Copy Markdown
Author

The latest release now use OpenAction crate

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants