-
-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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
[Bug] combos introspection fails to compile when in user space #21137
Comments
Maintenance of userspace keymaps is not always QMK collaborator's concern -- in the past people have been abusive when things have changed without their input. We'll generally try to handle things like keycode renames, but anything more complex is left to the user to fix. That said, in the case of combos (or any other introspection), there's a directive usable within the keymap's INTROSPECTION_KEYMAP_C = <my_combos_file>.c This will auto-include the specified file in the introspection preamble so that it makes them available to the introspection functions. Generally people specify combos in |
Thanks for the response. I used that those user space keymaps as they were examples of the same compile failures that I was having while upgrading my qmk_firmware submodule. Thanks I was not aware of |
Under normal circumstances I'd agree with you, but the docs explicitly state that combos should be placed in |
qmk#21137 (comment) source for setup
I just ran into this problem myself, and I'm not sure how having them in How would you suggest that I organize this in code, other than my common |
Move the list of combos to a different file, and use Locking this issue as there's no point necro'ing it. |
Describe the Bug
After the introduction of PR #19670 qmk fails to compile when defining
key_combos
in userspace.Some examples of keyboard builds that fail because of this:
This does not happen when moving the code to the
keymap.c
file.Keyboard Used
handwired/dactyl_manuform/4x5:ibnuda
Link to product page (if applicable)
No response
Operating System
linux
qmk doctor Output
Is AutoHotKey / Karabiner installed
Other keyboard-related software installed
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: