-
-
Notifications
You must be signed in to change notification settings - Fork 39.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Use Shifted Keys with Modifier/Tap Shortcut Mappings #642
Comments
My suspicion is that |
thanks for such a quick response. bummer for me. is there any obvious workaround? something like [out of scope of this ticket, but i've found https://asylum.madhouse-project.org/blog/tags/ergodox/ incredibly helpful digging into all this. thank you!!!] |
The easiest way is likely a macro. When pressed, it starts a timer, and registers a Something like this: case M_SUNDS:
if (record->event.pressed) {
sunds_timer = timer_read();
register_code (KC_LSFT);
} else {
if (timer_elapsed (sunds_timer) > TAPPING_TERM) {
register_code (KC_MINS);
unregister_code (KC_MINS);
}
unregister_code (KC_LSFT);
}
break; And somewhere near the top of your keymap, define the Not tested, but should work, if it compiles. The downside of this is that the underscore registers on keyup, you can't hold it to let the OS repeat it, but you wouldn't be able to do that anyway, because when held, the key acts as shift. Hope this helps! |
this is amazing! thank you so much--i really appreciate it. i will make the updates/flash later today. |
Just for the sake of completeness: I tried algernon's code and it works... |
an alternative quick fix is to look at where the space cadet feature is implemented in |
I'm closing this to clean up our open issues, but if you still have questions @common-nighthawk please reopen this or open a new issue. |
It'd be really nice if this were a built-in feature, honestly. )= |
I think you just need to define RSPC_MOD to what you want |
* update HS60 v2 ANSI keymap * add HS60 v2 HHKB keymap * add HS60 v2 ISO keymap
Add vial support for Cloud
SFT_T(KC_UNDS)
does not work as expected. when tapped, it sends dash (-) rather than underscore (_).i want to dig into this myself more. but i didn't see this reported as a bug.
presumably--because shift is an extra modifier to all the shortcut shifted keys, it's getting lost in this
MT(MOD_LSFT, kc)
.The text was updated successfully, but these errors were encountered: