fix(keyboard): consume one-shot modifier on next key press, not release - #1036
fix(keyboard): consume one-shot modifier on next key press, not release#1036jpds wants to merge 1 commit into
Conversation
A key rolled over before the first shifted key released still saw `Single`, so it got shifted too. Consume on press instead; release reports never included `Single` anyway, so the shifted key is unaffected. A held OSL now also consumes a pending OSM at its own press, matching the already-tapped case in `osm_then_osl`.
Size Report
|
Fix the issue whereby a one-shot mod like
osm!(ModifierCombination::LSHIFT)can cause a rolled set of keys to be capitalized as the modifier isn't deactivated after it is pressed - rather than released.