-
-
Notifications
You must be signed in to change notification settings - Fork 40.7k
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
Fix FORCE_NKRO handling #7601
Fix FORCE_NKRO handling #7601
Conversation
…erwriting force nkro
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.
looks reasonable. not about the process_magic changes, but if you're not sure it's equivalent I'm ok with it
|
Ah ok, w=1 does make a lot more sense |
* clean up quantum.c (qmk#7485) * idea * progress * more stuff * wip * wip * last couple of keycodes you can move safely * Update quantum/quantum.c Co-Authored-By: fauxpark <[email protected]> * Put back RGB_MODE_BREATHE * Compile out some keycode processing when features are disabled (qmk#7506) * Add shift-to-invert to remaining directional RGB_* keycode pairs (qmk#7484) * Add shift-to-invert to remaining directional RGB_* keycode pairs RGB_MODE_FORWARD / RGB_MODE_REVERSE invert their functions when shift is held. This change adds the same capabilities to the remaining directional RGB_* keycode pairs. This improves consistency and provides full RGB control in a keymap containing only one keycode from each pair. * remove redundant variable * fix typo * Fix more typos Flyspell is on now I swear! * Relocate magic keycode processing (qmk#7512) * Move magic keycode processing to own file * Save some bytes * Update comments * Update define to one thats not already used... * Fix audio * Fix breathing toggle when rgb is disabled (qmk#7550) * Ifdef MAGIC_EE_HANDS until #178 drops revert this commit once it does * Add short aliases for Magic keycodes (qmk#7541) * Add short alias for `MAGIC_TOGGLE_NKRO` * Add aliases for the other Bootmagic keycodes * Replace long form in default keymaps * Fix FORCE_NKRO handling (qmk#7601) * Add until #173 drops * Relocate RGB keycode processing (qmk#7508) * Move rgb keycode logic to process_keycode * Fixes for rgb matrix * Fixes for mxss * Fix inc/dec logic, add comments * Fix return RAINBOW_SWIRL logic * stop external use of rgb helper functions * merge fix * Fix 'defined but not used' when all animations are disabled Co-authored-by: Yan-Fa Li <[email protected]> Co-authored-by: Joel Challis <[email protected]> Co-authored-by: Manna Harbour <[email protected]> Co-authored-by: fauxpark <[email protected]> Co-authored-by: Florian Didron <[email protected]>
* clean up quantum.c (qmk#7485) * idea * progress * more stuff * wip * wip * last couple of keycodes you can move safely * Update quantum/quantum.c Co-Authored-By: fauxpark <[email protected]> * Put back RGB_MODE_BREATHE * Compile out some keycode processing when features are disabled (qmk#7506) * Add shift-to-invert to remaining directional RGB_* keycode pairs (qmk#7484) * Add shift-to-invert to remaining directional RGB_* keycode pairs RGB_MODE_FORWARD / RGB_MODE_REVERSE invert their functions when shift is held. This change adds the same capabilities to the remaining directional RGB_* keycode pairs. This improves consistency and provides full RGB control in a keymap containing only one keycode from each pair. * remove redundant variable * fix typo * Fix more typos Flyspell is on now I swear! * Relocate magic keycode processing (qmk#7512) * Move magic keycode processing to own file * Save some bytes * Update comments * Update define to one thats not already used... * Fix audio * Fix breathing toggle when rgb is disabled (qmk#7550) * Ifdef MAGIC_EE_HANDS until #178 drops revert this commit once it does * Add short aliases for Magic keycodes (qmk#7541) * Add short alias for `MAGIC_TOGGLE_NKRO` * Add aliases for the other Bootmagic keycodes * Replace long form in default keymaps * Fix FORCE_NKRO handling (qmk#7601) * Add until #173 drops * Relocate RGB keycode processing (qmk#7508) * Move rgb keycode logic to process_keycode * Fixes for rgb matrix * Fixes for mxss * Fix inc/dec logic, add comments * Fix return RAINBOW_SWIRL logic * stop external use of rgb helper functions * merge fix * Fix 'defined but not used' when all animations are disabled Co-authored-by: Yan-Fa Li <[email protected]> Co-authored-by: Joel Challis <[email protected]> Co-authored-by: Manna Harbour <[email protected]> Co-authored-by: fauxpark <[email protected]> Co-authored-by: Florian Didron <[email protected]>
Description
Fixed Issues:
Fix force nkro overwriting on matrix scan
eeconfig_read_keymap()
is called on every keycode process, the previous nkro value in memory is lost.Fix first magic keycode overwriting force nkro
tmk_core/common/keyboard.c
sets nkro value, which when the first magic keycode triggerseeconfig_read_keymap()
, the previous nkro value in memory is lost.Types of Changes
Checklist