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.
Thank you. All this works indeed perfectly (BTT is really a great tool ).
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:
I’ll try to figure out another way to make it work then, let’s see!
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:
the second l would like to be a t Although this word sounds funny too ↺
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).
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. 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.
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!