Add the option for KCDefaultVisualiser to show flags#189
Open
maxchuquimia wants to merge 1 commit intokeycastr:mainfrom
Open
Add the option for KCDefaultVisualiser to show flags#189maxchuquimia wants to merge 1 commit intokeycastr:mainfrom
maxchuquimia wants to merge 1 commit intokeycastr:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[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 🙃