-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
ACTION_MODS_KEY
does not send modifier from KEYMAP
#184
Comments
ACTION_MODS_KEY
does not send modifier.ACTION_MODS_KEY
does not send modifier from KEYMAP
To use action directly like that you will have to implemnt |
Thanks; I've got this working in 2f7b588, but not cleanly; I just ripped out a bunch of code I'm not using to make it function. I would love it if this were possible to do in the mainline TMK codebase and was considering submitting a pull request with this done the Right Way. But I get the feeling that there's a reason it's not supported currently. Is it just a reluctance to use 16 bits in order to make the layer definitions more compact in memory? |
@technomancy @kejadlen I can confirm it also works for |
I'm trying to use
ACTION_MODS_KEY
to send shifted keycodes. Inkeymap.md
it says you can useACTION_MODS_KEY(MOD_LSFT, KC_1)
to send a shifted1
, or!
. However, when I bind this to a key inside thekeymaps[]
array, it just sends1
.I have changed the
KEYMAP
macro to use a 16-bit value instead of an 8-bit one as the documentation indicates is necessary.I have this working using
ACTION_MODS_KEY
in thefn_actions
array, but it's far too tedious. I need to be able to declare it inline in the keymap since I have layers that are mostly shifted keycodes. Having to declare every shifted keycode once in the keymap and once infn_actions
(and trying to keep the references straight when I change them) is error-prone.Is this supposed to be supported in
KEYMAP
or only insidefn_actions
?The text was updated successfully, but these errors were encountered: