Open drewlwhitney opened 2 days ago
Can you try https://github.com/qmk/qmk_firmware/pull/23967 please?
Yes absolutely! My previous solution for gaining access to older versions has been downloading a zip and then sort of stitching it together with the compiler. Is there a Git command that lets me get a specific commit version?
Can try:
# assuming QMK is your upstream remote as per the docs
git fetch -f upstream refs/pull/23967/head:pr/23967
git merge --no-commit --squash pr/23967
I'm currently getting this issue:
error: Your local changes to the following files would be overwritten by merge: keyboards/planck/rev7/keymaps/default/config.h keyboards/planck/rev7/keymaps/default/keymap.c keyboards/planck/rev7/matrix.c keyboards/planck/rev7/readme.md
That seems to indicate you've modified those files locally? I've just attempted it with current master
and it merged fine.
Oops! I didn't realize I also needed to run git commit
. My Git noobiness is showing.
However, yippee! That version works perfectly! The encoder reads correctly with a resolution of two, and the encoder map is being used. It's even working with mod-tap keys, so I can use my mod-tap Alt/Esc key to cycle through tabs with the encoder now.
I no longer have to have two separate qmk versions on my computer! Thank you so much tzarc! If there are any other tests you would like me to run, I will absolutely do them.
Have a wonderful night!
Describe the Bug
Hello!
I've run into an issue with the current version of QMK and using rotary encoders on the Planck. I have an encoder on the top left, and when I turn it, the keyboard sends only the clockwise action at random detent intervals. I am using this encoder.
People on the Discord server have suggested the encoder is the problem. However, after going through three different encoders, all of them exhibit the same behavior. Furthermore, I can confirm that this issue is specific to the Planck. I have a Nyquist/Levinson Rev 4 that uses the exact same encoder and the exact same keymap as my Planck. As in, I literally copy/pasted the contents of the keymap file from the Planck to the Levinson, and the encoder on the Levinson works properly. I also have identical settings for the config.h and rules.mk files.
I can get the encoder to work QMK versions from before encoder abstraction was added, but encoder mappings for the Planck are not supported at that point in the commit history. Neither encoder mappings nor the user-side encoder function work for the Planck.
Specifically, this encoder works properly before the "Add encoder abstraction" commit, which is 9d9cdaa. I compiled firmware on commit 2eb9ff8 and the encoder worked properly. On 9d9cdaa, the encoder breaks.
I think this can be isolated to the Planck directory, since other keyboards work fine. I am not familiar enough with how encoders are implemented in QMK to find the issue myself, but I am happy to test any solutions. I would also appreciate if any other Planck users with encoders could test them on the current version. I've pasted my keymap below (I know my
process_record_user
is horrendous. There is a separate issue with the GUI key not being suppressed properly for key overrides that I'm manually fixing).Let me know what I can do to help!
Keyboard Used
planck/rev7
Link to product page (if applicable)
https://drop.com/buy/planck-mechanical-keyboard
Operating System
Windows 11
qmk doctor Output
Is AutoHotKey / Karabiner installed
Other keyboard-related software installed
QMK Toolbox
Additional Context
I have
#define ENCODER_MAP_ENABLE
in config.h.