Capslock not triggering on key up

Still trying to use Caps lock for some use cases. I would like to use it as a hyperkey, and if not, have it trigger something when pressed for a long time, and something else when triggered for a short time. All the best!


Describe the bug
Even without the hyperkey part, I have not managed to get BTT to trigger on key up of Caps lock. It never triggers. When using the standard key down, it triggers immediately. But then I don’t know how to differentiate between the long and the short press.


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

Keyboard


Device information:

  • Type of Mac: MBP M2
  • macOS version: Tahoe 26.0.1
  • BetterTouchTool version: 5.717 (2025102003)

Additional information (e.g. crash logs, related issues, etc.):

This is maybe similar to what another user experienced here:

Long press is currently hard to achieve, but release should work fine when configured like this:


It is important the setup looks exactly like this (e.g. make sure no action comes before act as hyper key)

Thank you. All this works indeed perfectly (BTT is really a great tool :trophy:).

If I understand you right, my use case of assigning two different tasks to the Caps Lock key depending on the duration that it’s pressed doesn’t work. That’s a pity but also no big deal.

I’d suggest, if it’s feasible without too much effort, to insert a warning somewhere for other people trying to do this, that Caps Lock and key up are not compatible:

grafik

I’ll try to figure out another way to make it work then, let’s see! :slight_smile:

Have a great day!

I would have been fine to have the caps lock function only when pressing shift+caps for instance, but that unfortunately doesn’t work. If you have another idea, I’d be grateful!

By the way, a small detail:

grafik

the second l would like to be a t :slight_smile: Although this word sounds funny too ↺ :speaker_high_volume:

You can create custom hyper keys, but this gets pretty advanced: Create A Custom Hyper Key

Great, thank you. That worked pretty well for a part!

What I managed to do:

Get the Caps Lock key to trigger my desired shortcut, and to switch the caps lock state when using shift+caps lock. (When using long press it worked too, but it was less comfortable since I had to press it more than x, in my case 0,5 seconds, and less than 2 seconds, which is the maximum duration allowed by BTT).

Here are some screenshots:

grafik

What doesn’t yet work is the Hyper Key function. The following shortcut doesn’t trigger unfortunately.

I also tried combining the classic hyperkey functioning with the shift+caps, but that didn’t work (rather unsurprisingly).

If you have an idea why, I’d be grateful. If you’re too busy, don’t worry!

Additional info: I tried “cheating” with a key sequence, but that didn’t work, since the normal key is still striggered:

I noticed that the caps down and caps up events are not being triggered (I added hud messages and none showed):

Edit:

I managed to make them trigger (caps lock had a different keycode when disabled I think, see below the two versions), but then I got all sorts of issues with control being pressed all the time, which makes navigating quite complicated. :slight_smile: Restarting BTT worked, sometimes only pressing Control also worked. For now I’m back to the classic hyperkey mode, maybe I’ll find a solution.

I assume that's not important. Just letting you know. If you need more than 2 seconds, you can enter it manually. This can be very useful in certain situations.

1 Like

Thank you, good to know!

1 Like

Small additional thing I just noticed, not sure if I should open up another thread @Andreas_Hegenberg :

Instead of fidgeting with durations & co., I thought I’d simply add a shortcut to trigger the Caps Lock function. Well, the shortcut triggers (I decided to opt for Caps+Tab), but the Action of changing the Caps Lock status doesn’t. The light doesn’t turn on, and the function doesn’t work either. Maybe it’s expected, then I’ll live without Caps Lock! :slight_smile:

Have a great day!