Hello. Normally if an OneShot key is hit twice, it will make it sticky. However, I would like to use TapDance so that if a key is pressed once it is a OneShotRAlt, but if it is pressed twice it is a OneShotRCtrl. Is this possible?
I don’t want to disable the OneShot sticky behaviour in general as I want to use it for other modifiers.
Um sorry but I did look into the TapDance documentation but that seems to recommend using tapDanceActionKeys which takes a sequence of required keycodes as arguments so where can I use OneShot.inject()?
tapDanceActionKeys is just a helper, you don’t need to use it. For a few examples of how you can accomplish stuff without it, have a look at my TapDance setup.
Additionally, if you can open an issue against TapDance, to improve the docs to show usage without tapDanceActionKeys, that would be great, and I wouldn’t forget to write it, eventually. Thanks =)
Two separate calls with IS_PRESSED and WAS_PRESSED kind of worked, but lead to other problems.
I saw only now, that OneShot has a property called double_tap_sticky_layers.
What exactly is this supposed to do?
At first I thought it’s exactly what I was looking for, but it doesn’t behave at all as I would expect. What I would have expected is this: One tap switches layers for one key stroke, a double tap switches layers until I tap the key again. Did I understand this correctly? @algernon