Anze/KeyCluCask

[bug]: Highlights are wrong when using Hyperkey

Opened this issue · 7 comments

Description

I use Hyperkey to turn my Caps Lock into a combination of Ctrl+Opt+Shift+Cmd.

When I press the hyperkey KeyClu highlights shortcuts as if I have only Cmd pressed. Pressing all modifiers separately works as expected.

keyclu.hyperkey.mov

Expected behavior

Highlight shortcuts as if all modifiers are being pressed.

App version

0.26

macOS version

macOS Sonoma 14.4.1

Installation method

Manual (dmg/zip)

Checklist before submitting a bug

Anze commented

Hey leoravagnani,
While I'm investigating the issue, could you please share a screenshot of the settings for Hyperkey to assist in identifying the problem?

Hey @Anze, there you go
Screenshot 2024-04-27 at 12 06 44

Anze commented

Thanks for providing the screenshot. Would check it.

Anze commented

I'll try a different approach to monitor the keys and see if it make any improvements. Currently, other apps like KeyCastr also struggle to identify the correct keys, but KeyCodes manages to do so.

I had no clue whatsoever how Hyperkey does what it does, nice insight there.

I just tried setting up the hyperkey through Karabiner-Elements and highlights work correctly! I'll stick to it as I was already about to explore some other things such as customizing right-side modifiers as they go mostly unused.

Could be worth looking into a fix for Hyperkey but it seems Karabiner is a better alternative altogether given the feature set.

Anze commented

I'll investigate to find a workaround. Anyway, I believe it's preferable to use another app, as Hyperkey seems to have an issue with retaining keys when other modifiers are pressed. For instance, holding down the command key and then holding down the caps lock key without releasing the command key. Releasing command key and then the caps lock key does not release all modifiers. Need to tap the caps lock key again to force the release of modifiers. I believe this issue appears to be inherent to Hyperkey itself.

@Anze just got a new Hyperkey update and it seems to fix just what you're reporting. Makes me wonder if the dev is watching this thread haha

0.34
Fixed an issue where certain scenarios had the potential to result in a stuck hyperkey