You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm loving the functionality from keyd as it's allowing me to mimic a lot of the configurations I have within QMK for my mech keyboards on my laptop keyboards; however, I'm being challenged to get the following to work. Is this possible?
Capslock Single tap = ESC
Capslock Hold = CTRL
Double Tap Capslock (within X ms) = Toggle Capslock
The text was updated successfully, but these errors were encountered:
[global]
# oneshot_timeout = your X ms
[main]
capslock = overload(control, oneshot(capslock))
[caplock]
capslock = capslock
a = macro(esc a)
b = macro(esc b)
#... etcetera
... but this doesn't do exactly what you want because the esc action would only be triggered if you press another key quickly. The behaviour suggested in #738 would remedy this.
Another attempt:
[main]
capslock = overload(control, toggle(caps))
[caps]
capslock = togglem(caps, capslock)
a = togglem(caps, esc a)
b = togglem(caps, esc b)
#... etcetera
... but this would mean you lose the timeout on the double tap. This, in turn, would be addressed by the feature request in #671.
Either approach is also rather verbose. There are a couple of feature requests that would address this, so hopefully this sort of thing will be easier in later versions (ie. #681, #705).
Sorry to reference all these open feature requests, but I guess it's good to keep track :P
Thanks for compiling all of this and confirming what I suspected; there appears to be no clean functional way to perform this at this time.
As you mentioned hopefully this will be solved at some point as it seems to be a somewhat common scenario once you go down the hole of optimizing your keystrokes and trying to leverage ability to stay on home row as much as possible without removing functionality at the same time.
I am using 800ms, for the CapsLock hold time, but you can adjust it of course. The nice thing is that once you strike another key in combination with CapsLock, then the timer is cancelled and there is no danger of engaging CapsLock.
I'm loving the functionality from keyd as it's allowing me to mimic a lot of the configurations I have within QMK for my mech keyboards on my laptop keyboards; however, I'm being challenged to get the following to work. Is this possible?
Capslock Single tap = ESC
Capslock Hold = CTRL
Double Tap Capslock (within X ms) = Toggle Capslock
The text was updated successfully, but these errors were encountered: