-
-
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] [develop] VIA encoder support does not populate default values on keymap reset #17759
Comments
Built from the develop branch. Caveat utilitor! There is a known issue with restoring encoder mappings after EEPROM reset: qmk/qmk_firmware#17759 This firmware is INCOMPATIBLE with the VIA and Vial desktop applications as of this commit. You must use the VIA web application!
I couldn't reproduce the bug using the Adafruit MacroPad with the VIA keymap For me it works as expected, I tried with BootMagic Lite and macropad.mp4 |
darn - i can confirm this is so. must have been residual eeprom data that was not initialised when i coded in the encoder bits (and didn't call sorry to have bothered :( closing (but may be good to leave as a lessons learned to others that may try to port the code) |
Built from the develop branch. Caveat utilitor! There is a known issue with restoring encoder mappings after EEPROM reset: qmk/qmk_firmware#17759 This firmware is INCOMPATIBLE with the VIA and Vial desktop applications as of this commit. You must use the VIA web application!
Built from the develop branch. Caveat utilitor! There is a known issue with restoring encoder mappings after EEPROM reset: qmk/qmk_firmware#17759 This firmware is INCOMPATIBLE with the VIA and Vial desktop applications as of this commit. You must use the VIA web application!
Built from the develop branch. Caveat utilitor! There is a known issue with restoring encoder mappings after EEPROM reset: qmk/qmk_firmware#17759 This firmware is INCOMPATIBLE with the VIA and Vial desktop applications as of this commit. You must use the VIA web application!
Describe the Bug
Recent PR [#17734] added support for rotary encoders using the
ENCODER_MAP_ENABLE
functionality - however I'm finding that on EEPROM reset the default values encoded intoPROGMEM encoder_map
array are not copied onto the EEPROM. (rather all the CW and CCW values are nulled toKC_NO
)My assumption is that since the
dynamic_keymap_set_encoder()
function does some shifting and masking L140-L141, butdynamic_keymap_reset()
does not L157-L158, that the issue lies there?See: https://discord.com/channels/673730324047462449/673736911839428641/1000188112292552715 (on Keychron discord)
The text was updated successfully, but these errors were encountered: