Skip to content

Keyboard Macros 2.2.1

Latest

Choose a tag to compare

@MrBretze MrBretze released this 23 Nov 19:37

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 uinput module, 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 uinput module and denied access are now told apart: the first is fixed with sudo modprobe uinput, the second with the input group.
  • OpenDeck's log gets the problem and the guide's URL at startup.

Setup guide

docs/SETUP.md covers:

  • Linux: uinput module, input group, 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_keyboards makes 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".