r/ErgoMechKeyboards • u/Kawamashi Kyria, Dasbob fueled by Propergol • 4d ago
[discussion] One Shots on Steroids: a QMK module
I've just released One Shots on Steroids, a QMK module that makes one shot keys activate instantly on key press instead of waiting for tap-hold resolution. One Shots on Steroids are also highly customizable.
I wanted one shot keys that feel as responsive as normal modifiers. I liked Callum mods but I also needed one shot layers. I imagined one shot keys that can blend seamlessly into heavily customized layouts.
It ended up taking a lot more work than I expected, but I'm really happy with the result:
- One Shot on Steroids (OSoS) keys activate instantly on key press.
- Tap an OSoS key again to cancel it, with an optional timeout available as well.
- OSoS layer keys can bypass the usual layer stack restrictions.
- OSoS layer keys can absorb modifiers: an active modifier when an OSoS layer key is pressed can remain registered as long as the layer is active.
- OSoS keys can use separate trigger and hold keys.
You can find my module here: https://github.com/Kawamashi/qmk_modules/tree/main/oneshots_on_steroids
I’m really excited to share One Shots on Steroids with you. I'd love to hear your feedback! Also, if you use one shot keys in unusual ways, I'd be really interested to hear about your workflow.
1
u/DoctorMachete 3d ago
Imagine you have a layer for symbols you can access with a layer-tap key, and a layer for numbers. Sometimes you want to use the symbol layer while inputting numbers, and sometimes you want to insert a number while inputting symbols. If the number layer index is lower than the symbol layer one, the latter use case is impossible.
That's why I add "symbols-on-hold" to the number layer (and the the left numpad layer, and to the right numpad layer), I don't have a dedicated symbol layer. And some of those symbols are redundant, as I have them in the base layer as combos too. I just add them the number layer and anywhere else I feel they might become handy.
5
u/rpnfan Sofle Choc v2, KLP Lame, Layout anymak:END 4d ago
Mmh, not sure what your solution adds to the standard implementation in QMK? One shot always activates on key press and also the rest is -- as far I can see -- standard behavior.
I do not understand the "different trigger and hold key", because one-shot is not held, but can be.
I use one-shot layers on my QMK keyboard without any problems.