Skip to content

Set Caps Lock with Command+Caps Lock - #11

Open
cofob wants to merge 1 commit into
doasync:mainfrom
cofob:cofob/upstream-cmd-caps
Open

cofob wants to merge 1 commit into
doasync:mainfrom
cofob:cofob/upstream-cmd-caps

Conversation

@cofob

@cofob cofob commented Sep 30, 2026

Copy link
Copy Markdown

Command+Caps Lock sets Caps Lock to ON or OFF. Caps Lock alone still changes the input source.
Ignore repeated key events for Command+Caps Lock. Use an active event tap to stop the shortcut from changing the input source.

Merge #8 first. The feature needs access to IOHIDSystem outside App Sandbox.

The Swift compiler found no errors for Intel or Apple Silicon. The state test changed Caps Lock in both directions and restored its initial state.

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