3 ms·
Karabiner has this. I never could use this. I've tried mapping A to control when held down, but there's always false negatives because I hit control too fast.
by xiande04 4y ago
Karabiner has this. I never could use this. I've tried mapping A to control when held down, but there's always false negatives because I hit control too fast. I've also tried many other keys and different timings, but nothing works for me.
Instead, I map a key to one thing when pressed alone and another when pressed with other keys. Works so much better. I can't live without this now. I really wish QMK had this functionality, but I think it's only available in Karabiner.
- 355E3B 4y agoQMK does have this, unless I’ve misunderstood your use case. My QMK keyboard has CAPS mapped to ESC when tapped, CTRL when pressed with other keys. In my keymap.c file, I’ve put my caps key as just: MT(MOD_LCTL, KC_ESC)
- seanw444 4y agoI ended up putting arrow keys in my 60%, which shifted the layout (PCB limitations) to where I ended up having to sacrifice my / and ? for a shift key (to fit the empty space). So I ended up having to do something similar. Holding it down and pressing other keys makes it function as a shift. Clicking it by itself yields a period, and clicking it by itself with the other shift does a question mark. QMK is freaking awesome. RSFT_T(KC_SLSH)
- xiande04 4y agoOh! Good to know! And your use-case is exactly what I'm using Karabiner for.
- 1-more 4y agoOh yeah I couldn't make it work with letters. Rather I added tap behavior to modifiers. In QMK my command keys are Esc and Enter when tapped, shifts are parentheses (like the space cadet keyboard), controls (outside of A and ;) are single and double quote, Options are braces, and hypers are angle brackets (which I should probably change to brackets since I don't really write JSX/TSX/HTML much any more)