Solaar/lib
Sudheer 862887c163 fix: Fix spurious Noop MouseGesture firing after KeyIsDown + wheel rule
Releasing a button used as a KeyIsDown modifier sends a single-element
MOUSE_GESTURE notification (Noop) that can incorrectly match MouseGesture
rules bound to the same button.

Track the state across notifications with three module-level variables:
- keys_used_while_held: buttons where a KeyIsDown rule fired during hold
- suppress_noop_for_buttons: buttons whose next Noop should be swallowed
- _suppress_current_noop: per-notification flag checked by MouseGesture.evaluate

KeyIsDown.evaluate records the button when a non-button notification
co-fires (e.g. scroll, gesture). On key-up, process_notification moves it
to suppress_noop_for_buttons. evaluate_rules sets _suppress_current_noop
when the incoming Noop matches. MouseGesture.evaluate returns False.
Re-pressing the button before release clears any pending suppression.
2026-06-08 04:43:17 +02:00
..
hid_parser Fix duplicate class field typo in HID parser data 2026-05-05 14:43:03 -04:00
hidapi G522 LIGHTSPEED headphones support 2026-05-21 10:13:00 -04:00
keysyms keysymdef: Rename key symbols 2024-10-11 07:42:38 -04:00
logitech_receiver fix: Fix spurious Noop MouseGesture firing after KeyIsDown + wheel rule 2026-06-08 04:43:17 +02:00
solaar perkey layouts: add POUND and ISO_BACKSLASH cells to MAIN_ISO 2026-06-01 19:09:11 -04:00