"Act as Hyperkey" still triggers "Capslock"

Describe the bug
I configured the hyperkey on capslock according to the documentation..

When i try to use it, capslock is still triggerd, no matter if i hold the key or just tab it. So when i press it the hyperkey is not ctrl+shift+cmd+opt but ctrl+shift+cmd+opt+capslock. It is also annoying when typing and using the "hyperkey", because it will always toggle capslock. I have rebooted my system multiple times and also tried to disable capslock in the system settings.

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
Keyboard (Internal and External)

Device information:

  • Type of Mac: MacBook Air M1 16GB Ram German ISO Keyboardlayout
  • macOS version: Ventura Version 13.2.1 (22D68)
  • BetterTouchTool version: (please post the exact version - not just "the latest one") 4.068 via Setapp

Additional information (e.g. StackTraces, related issues, screenshots, workarounds, etc.):

I can't reproduce this. Is this really happening on the internal Macbook trackpad for you?
Does BTT have Accessibility API permissions in System Settings => Privacy & Security => Accessibility?

For external non-Apple keyboards I'd understand that this could happen, but for Apple keyboards it would be quite weird :-/

If you can't get it to work, I'd recommend to remap Caps Lock to option or cmd and then follow @Frank1's general suggestion on how to setup shortcuts that only work with that remapped key pressed by using BTTs "Differentiate Left / Right Modifier Keys"

1 Like

Hi Andreas, thank you for the quick reply. Yes it happens on the build in apple Keyboard as well as on the external (non apple) Keyboards. BTT has accessibility permissions. Is there any other Setting I am missing? With the Hyperkey feature enabled it always registers as the 4 modifier keys + caps and toggles caps.

Thank's for posting the workaround, I'll give that a try :+1:

Hey, i didn't want to create a duplicate of this post, I hope it is okay if i join on this old post. Currently the remapping of capslock stops working after waking up from standby. The capslock key then just acts as a normal capslock key again until i restart bettertouchtool (bettertouchtool itself still works, it doesn't crash when in standby). I do have logi options+ installed (unfortunately, i wish i could completely get rid of that), so maybe that is interfering?

are you still encountering this with recent versions? In general the wakeup issue should be fixed since 4.999

Hey, sorry for the late reply, i was a bit busy and testing the hyperkey functionality. Thank you for reaching out back to me!
I feel like it still fails sometimes and i think it might have to do with my log options+ app. I would really love to be able to ditch that horrific memory hog.
I have a cron job that kills the log options+ app every hour, simply because it would often have a memory leak and consume 18gb+ of memory (I have seen it affect pretty much all of our employees)

One thing i haven't managed to get working is to have capslock work as a hyperkey and also make it display a floating menu while it is pressed. I keep forgetting what hotkeys i have set up and i would love to show a floating menu while i have the hyperkey (capslock) pressed to display me all the options. However when i try to assign additional actions to the capslock key, the hyperkey functionality seems to break?

Have you tried setting up a separate key sequence? Key down --> show floating menu. Key up --> hide floating menu.

thanks for the reply! I haven't tried out key sequences yet. when i try to set one up, i am not sure if i can create one just for the keyup event? The key down events are pre-checked and not editable

As far as I understood it, i would have to create 2 key sequences, one for key down (show menu) and one for key up (hide menu)?

correct, you can pause the recording then press key down, then start the recording to only record the key up

Thanks for your help!
Unfortunately I still can't get it to work :cry:

While the hyper key is pressed i cannot really click on other buttons, so i can't click on "Start recording" after pressing and before releasing the hyper key. It tries to move the window underneath my cursor. Can you do it? maybe i have some setting active that prevents me from doing it. I checked to have "Hold option key while dragging windows to tile" unchecked in settings, but it still does not work.

okay, i was able to record the sequence after doing
defaults write -g NSWindowShouldDragOnGesture 0

however, the key sequence does not seem to trigger

(sorry for spamming on a saturday, this really is not high priority right now!)

okay, found a solution that is good enough for me :slight_smile:
I created an "other trigger" for "Active app did change" → hide floating menu. now whenever the active app changes the menu hides. it still does not hide when i just press capslock once and don't change the app, but that is fine. I wish the option "Hide After Releasing All Pressed Modifier Keys" worked when using capslock as hyperkey, but for now my workaround seems good enough for me!
Thanks again for the support!