Holding a layer or modifier until idle time elapsed (more flexible than one-shot)? #1303
-
I have dedicated my top row to Meta+Number shortcuts. These work great on Linux for workspace switching but Windows expects Meta to be held while tapping Num to "tab" through open windows of the relevant application. I would like to be able to tap a key that 1) Holds Meta, 2) Presses Num, 3) Starts a timeout for Meta to release. Continuing to tap the key before the timeout will still send Num (or Meta+Num, shouldn't matter?), and reset the release timeout on each tap. To add one more wrinkle to this, my config is shared between keyboards and these shortcuts exist not just on the base layer top row but also inside a one-shot layer; I suspect the OSL version might be even more complex. The discussions at #502 and #1164 seem so close, but just different enough that I'm not able to adapt them to my goal. I've explored... One-shots: no way to add another Any help would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
A throw into the wind:
|
Beta Was this translation helpful? Give feedback.
-
Thank you for taking a stab at it! Trying to wrap my head around this, hopefully I'm comprehending... If Holds meta and enters layer where 1 is just 1, nothing special attached. This makes sense so far: I can now toggle through windows with If it makes a difference to see exactly what I'm going for, this is what I had attempted before realizing that on-idle did not behave how I expected.
|
Beta Was this translation helpful? Give feedback.
Back from work: example in simulator.