mirror of
https://github.com/keycastr/keycastr.git
synced 2026-05-15 14:15:50 -06:00
[PR #189] Add the option for KCDefaultVisualiser to show flags #322
Labels
No labels
bug
compatibility
discussion
documentation
enhancement
help wanted
help wanted
investigation needed
pull-request
release
visualizer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/keycastr#322
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/keycastr/keycastr/pull/189
Author: @maxchuquimia
Created: 1/24/2021
Status: 🔄 Open
Base:
main← Head:master📝 Commits (1)
d48a3ecAdd the option for KCDefaultVisualiser to show flags📊 Changes
2 files changed (+51 additions, -2 deletions)
View changed files
📝
keycastr/KCDefaultVisualizer.h(+2 -0)📝
keycastr/KCDefaultVisualizer.m(+49 -2)📄 Description
[reopened to target
mainbranch]I guess this is similar to the Mod Keys pull request (which I only discovered after doing this work ahahah 😅)
This PR adds an option for KCDefaultVisualiser to show held-down modifier keys - well, actually, I wasn't entirely sure how to make the binding between the storyboard checkbox and NSUserDefaults so I was hoping someone else could help with that.. But at any rate, putting the following into the command line will set the user defaults flag to true and enable the feature:
defaults write io.github.keycastr default.enableShowModifierPresses -bool true
This is really useful for when screencasting Xcode (of all things) due to there being so many times I need to show that I'm holding down keys whilst pressing a mouse button.
I hope this helps someone in the future, and apologies in advance as it's been.. 5 or so years since I had to write any Objective-C 🙃
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.