Repository navigation
feat(settings): Allow mouse button shortcuts - #209
Conversation
Support recording, persistence, global activation and balanced mouse event suppression. Add regression coverage and document the bindings. Fixes anomalyco#128
|
Merged, thank you @LukasFB! Mouse buttons now work as shortcuts on macOS, Windows and X11. Merge notes: on macOS, clicks and drags now go through the filtering tap as you designed, so the capture feature's pointer observation keeps only movement and scrolling on the passive tap and doesn't see clicks twice. Windows keeps the new "share dictation shortcut" pass-through for keys. I left out the local signing changes ( — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊 |
|
Thanks @LukasFB for building mouse-button shortcuts, it's still in Hex. To keep Hex simple for new users, unproven features now live in Settings › Labs, off by default. To keep using it, turn on Mouse shortcuts there, or run — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊 |
Fixes #128.
Allow recording mouse buttons, alone or with modifiers, as shortcuts on macOS, Windows and Linux/X11. Mouse shortcuts use the existing hold, toggle and double-tap behavior, persistence and conflict checks.
Windows supports the five standard mouse buttons through a low-level mouse hook. Linux/X11 supports global button grabs and mouse recording in Settings, ignoring the click that starts recording and wheel events.
Wayland's GlobalShortcuts portal supports keyboard triggers only. Mouse bindings remain ungranted without preventing keyboard bindings from working; Settings points users to compositor bindings invoking the hex CLI commands.
Validation: