-
-
Notifications
You must be signed in to change notification settings - Fork 39.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 MATRIX_HAS_GHOST when MATRIX_COL > 16 #20093
Conversation
When MATRIX_COL > 16 get_real_keys() does not work correctly because the 1 << col overflows, since matrix_row_t is uint32_t. This causes keypresses to be lost on keyboards with more than 16 columns.
Also, since this really is a bugfix, it could probably target master. |
Got it. OK, do you want me to close this and open a new one targeting master? |
If you edit the title, it will let you retarget. Though, it may be tricky with extra commits. For now, can just leave it. See what others say. |
@drashna I retargeted it to master. Thoughts on merging it now? |
* upstream/master: (46 commits) [Keyboard] Add 1upkeyboards pi50 (qmk#20242) `sofle/via` encoder map & doc handedness update (qmk#20630) [Keyboard] add phantagom/baragon marcopad (qmk#20543) [Keyboard] add phantagom/varan rgb numpad (qmk#20587) [Keymap] Small changes to fix failing karn keyboard build (qmk#20618) Repair Spleeb i2c config and chrishoage keymap (qmk#20644) Adding my keymap (qmk#20345) Add additional options for Drag Scroll config (qmk#20523) Added Velvet Hotswap and Solder PCBs (qmk#20510) [Keyboard] Add the Aster Ergo PCB (qmk#20513) vertex/angle65 - Implement RGBlight (qmk#20514) [Keymap update] Keymap & docs update (qmk#20298) Fix MATRIX_HAS_GHOST when MATRIX_COL > 16 (qmk#20093) ez_maker/directpins/promicro: Fix bootloader mismatch (qmk#20627) Fix up positioning of keys for Keychron Q10/V10 and Q6/V6 (qmk#20582) [Keymap] Add johnstegeman iris colemak keymap (qmk#20575) [Keyboard] Add Manibus VIA support (qmk#20497) Add KBDCraft Adam64 Lego board (qmk#20503) Update code example to match description (qmk#20528) NK Plus (qmk#20392) ...
Description
When MATRIX_COL > 16 get_real_keys() does not work correctly because the
1 << col
shift overflows, since matrix_row_t is uint32_t. This causes key presses to be lost on keyboards with more than 16 columns.Types of Changes
Checklist