[PR #189] Add the option for KCDefaultVisualiser to show flags #322

Open
opened 2026-05-05 05:13:03 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/keycastr/keycastr/pull/189
Author: @maxchuquimia
Created: 1/24/2021
Status: 🔄 Open

Base: mainHead: master


📝 Commits (1)

  • d48a3ec Add 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 main branch]

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.

## 📋 Pull Request Information **Original PR:** https://github.com/keycastr/keycastr/pull/189 **Author:** [@maxchuquimia](https://github.com/maxchuquimia) **Created:** 1/24/2021 **Status:** 🔄 Open **Base:** `main` ← **Head:** `master` --- ### 📝 Commits (1) - [`d48a3ec`](https://github.com/keycastr/keycastr/commit/d48a3ecab72a958b00d0d5e1f78939d6ece6edd7) Add the option for KCDefaultVisualiser to show flags ### 📊 Changes **2 files changed** (+51 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `keycastr/KCDefaultVisualizer.h` (+2 -0) 📝 `keycastr/KCDefaultVisualizer.m` (+49 -2) </details> ### 📄 Description [reopened to target `main` branch] 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 🙃 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror added the
pull-request
label 2026-05-05 05:13:03 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/keycastr#322
No description provided.