-
-
Notifications
You must be signed in to change notification settings - Fork 39.6k
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] Enabling NKRO on the GMMK Pro through makes all keys but the multimedia keys unresponsive #13580
Comments
I changed the encoder code in the keymap.c file to this and it works with NKRO support now
|
You might need Or: bool encoder_update_user(uint8_t index, bool clockwise) {
if (clockwise) {
tap_code_delay(KC_VOLU, 10);
} else {
tap_code_delay(KC_VOLD, 10);
}
return true;
} |
This is already the default implementation. It's based on the develop branch, btw. |
@drashna I think the keymap he's using has some custom logic for the encoder |
Fir the media keys, you may need |
That's already defined here qmk_firmware/keyboards/gmmk/pro/config.h Line 44 in dbee960
So if he still has issues, that's probably because of something else, isn't it? |
Hi. I've tested the current qmk master version of my gmmk pro keymap. It has NKRO enabled and all of the encoder function works except RSFT + encoder for PgUp/PgDn. There's a type in there. This should be fixed in the new PR. Media function works just fine. If you use the RSFT+encoder function it could cause the other encoder function to not work properly because it did not release the Shift mod state due to the bug. |
@Jonavin what part of the PR would fix this? |
This would be the change needed in the current published version. The current PR moves a lot of the code into user space |
Not sure if you are still having issues with NKRO, but referencing this article (https://qmk.fm/changes/2019-01-27-fix-command-feature-use-get-mods-instead-of-keyboard-report-mods), I am changing the "keyboard_report->mods" to get_mods(). This seems to address the issue for GMMK Pro. |
Thank you everybody so much for the input! I've been away for a while, will have a look and return with feedback. Indeed I would like to retain the custom encoder functionality and at the same time enable NKRO without any issues rather than only have volume up/down mapped to it. |
Describe the Bug
Steps to replicate the bug (this is from the develop branch to make use of the RGB implemented there):
I am unsure if this is a QMK bug, a bug within the code for the GMMK Pro or a VIA bug. All I know is that keycode works all right with all my other keyboards running QMK and VIA and does what it says on the can (turns NKRO on and off).
I have not tested with forcing NKRO on from the get-go. NKRO enable = yes is present in rules.mk.
System Information
Additional Context
The text was updated successfully, but these errors were encountered: