-
Notifications
You must be signed in to change notification settings - Fork 8
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
leaders #29
Comments
Could you please specify about what you are trying to accomplish? I'm not quite sure what you're talking about. It would help me if you wrote in the format “I press this and this, and the OS receives such and such events from the keyboard”. And if you are able to share the code of your keymap, that would help me a lot too |
Setup:
In my keymap have a key set to QK_LEAD and S_A, S_S, S_F, .... etc. on the home row. and define actions to happen on certain sequences in leader_end_user:
When I press sequence leader key qwe I get LEADER TEST SUCCESS. |
Assuming like caps word, leader_sequence_active() is a state to take into account, I've modified the SMTD5 macro in sm_td.h to check for that and add it to the leader buffer if active.
and use KC_ codes in leader_end_user(void) instead of the custom ones.
And it seems to work. I did not do any thorough testing. |
I setup hrm using custom codes and SMTD_MT. But those keys that use sm_td, do not seem to work well when part of a leader sequence.
I've tried replacing the KC_... with my custom CKC_ codes in the leader_end_user callback but that did not work. Am I missing something? Is there a way to make it work?
The text was updated successfully, but these errors were encountered: