-
-
Notifications
You must be signed in to change notification settings - Fork 39.9k
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
bandominedoni same note fix #20352
bandominedoni same note fix #20352
Conversation
…y_encoder_fix_0.20.1
Not on the computer right now, so cant really check to confirm it... Changes to move information into data driven (read: info.json) are most likely done on the develop branch already, thus would lead to conflicts when develop gets merged on master, changes to the keyboard's code should target develop Also, there seems to be quite some duplication (eg the custom keycodes across several keymaps), which should be moved to keyboard-level (and use QK_KB instead of SAFE_RANGE) |
…ne in develop branch has been applied.
I made a branch from a develop branch and applied all the modifications done here to avoid conflicts. |
On my computer now, so i could take a closer look:
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
if (!process_record_user(keycode, record) {
return false;
}
// your code
} |
Oh, I see. I moved some Macro definitions and functions to there but I didn't modify process_record_kb() yet. |
#define ALT_SUB_CH_NUMBER 1 | ||
|
||
enum custom_keycodes { | ||
VERSION = QK_KB, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You only get 64 keyboard level keycodes https://github.com/qmk/qmk_firmware/blob/master/data/constants/keycodes/keycodes_0.0.2.hjson#L6, and can count 75 which would be invalid.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uh, oh…
I can’t use QK_USER in the KB level, can I?
BYW, Thanks for changing the base branch to develop.
Thank you for your contribution! |
Description
An issue with multiple same notes played at the same time is fixed.
(This version requires #20179 to be implemented to use an encoder correctly.)
Types of Changes
Issues Fixed or Closed by This PR
Checklist