Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display single "Ctrl", "Shift", "Option", and "Cmd" keys (if they are not pressed in combination with another key) #284

Open
jmuheim opened this issue Nov 30, 2023 · 2 comments

Comments

@jmuheim
Copy link

jmuheim commented Nov 30, 2023

This in some cases is very useful, for example when creating screencasts where one holds a single (or multiple) modifier keys WITHOUT a corresponding "other" key.

For example, when using a screen reader (NVDA in a Windows virtual machine), one can interrupt (cancel) the current output by pressing Control, or skip the current output line (and jump to the next line) by pressing Shift.

It would be great when KeyCastr would also display such key strokes. This could happen at the "keyUp" event of such a single key press.

What do you think? 👍

@jmuheim jmuheim changed the title Display single "Ctrl", "Shift", "Option", and "Cmd" keys (if they are not pressed together with another key) Display single "Ctrl", "Shift", "Option", and "Cmd" keys (if they are not pressed in combination with another key) Nov 30, 2023
@akitchen
Copy link
Member

akitchen commented Feb 3, 2024

This is a bit of a special case that might warrant a different visualizer. It's somewhat like what was being worked on in #203 but not exactly. But since you're talking about held keys, the visualizer idea in that PR is probably closer to what you're asking for than another modification to the default visualizer.

@DanCates
Copy link

DanCates commented Apr 9, 2024

This is a bit of a special case that might warrant a different visualizer. It's somewhat like what was being worked on in #203 but not exactly. But since you're talking about held keys, the visualizer idea in that PR is probably closer to what you're asking for than another modification to the default visualizer.

Hi! I'm just starting to use Keycastr and I immediately came to this PR because it appears that Keycastr's "Command keys only" option doesn't work for all the modifier keys, but only those combined with Command. This is strange as I am using Keycastr to show the keyboard shortcuts I am using as I work and record training videos. I'm assuming this is an extremely common use for the program. However, with "Command keys only" selected, it only seems to work consistently with keyboard shortcuts that start with or include the Command key. But there are many many shortcuts that use modifiers that don't include the Command key. Why are these not supported?

For instance, I use Amethyst as a window manager. It's default shortcuts use the modifiers Option + Shift + [letters]. None of these display when I'm using Keycastr because I have the "Command keys only" option selected, however I believe these easily fit the same intended use behind the "Command keys only" option. Can we update this functionality to include any modifiers?

Am I misunderstanding this functionality? Or are there disadvantages to the functionality when working with non-command modifier key combinations--explaining why this isn't already implemented?

Without this, the app's usefulness is greatly diminished but otherwise, it's fantastic.

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

No branches or pull requests

3 participants