Skip to content

hammerspoon: add keyboard mouse grid - #74

Merged
cmpadden merged 1 commit into
mainfrom
hammerspoon/mouse-grid
Nov 23, 2026
Merged

cmpadden merged 1 commit into
mainfrom
hammerspoon/mouse-grid

Conversation

@cmpadden

Copy link
Copy Markdown
Owner

Summary

  • Add a window-scoped 3×3 mouse grid, toggled with ⌘⌃G. The grid targets screen coordinates and does not require app-specific accessibility support.
  • Use QWE / ASD / ZXC to zoom and then nudge the crosshair, including diagonals. Hold a key to repeat or add Shift for ten-point steps. Return clicks; Space moves without clicking.
  • Cancel when the target loses focus, moves, or resizes. Document the controls and add a focused regression test suite.

Shortcut

The grid takes precedence over AppLauncher's existing ⌘⌃G binding. The entry shortcut is configured in hammerspoon/.hammerspoon/init.lua.

Validation

  • Passed make -C hammerspoon/.hammerspoon test-mouse-grid.
  • Passed pre-commit checks on the five changed files and git diff --check.
  • Repo-wide make lint was blocked locally by an unrelated working-tree formatting issue in bash/.bash_profile and missing shellcheck.

@cmpadden
cmpadden merged commit f60bfe1 into main Nov 23, 2026
1 check passed
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.

1 participant