Skip to content

Fix mouse scroll bindings not scrolling - #665

Draft
Xnick417x wants to merge 1 commit into
WinNative-Emu:mainfrom
Xnick417x:scroll
Draft

Fix mouse scroll bindings not scrolling#665
Xnick417x wants to merge 1 commit into
WinNative-Emu:mainfrom
Xnick417x:scroll

Conversation

@Xnick417x

Copy link
Copy Markdown
Collaborator

A button bound to Mouse Scroll Up/Down pressed X11 button 4/5 on touch down and held it until release, so it only ever produced one wheel notch and never repeated. Because Pointer.setButton is edge-triggered, a latched scroll button also silently dropped every other scroll source (touchpad two-finger scroll, physical wheel).

Scroll bindings now emit press+release together as a single notch and repeat while held (350ms delay, 90ms interval), stopping on release. Also drop the delta-0 MOUSEEVENTF_WHEEL sent on every scroll release in relative-mouse mode; the notch is fully delivered by the press.

A button bound to Mouse Scroll Up/Down pressed X11 button 4/5 on touch down
and held it until release, so it only ever produced one wheel notch and
never repeated. Because Pointer.setButton is edge-triggered, a latched
scroll button also silently dropped every other scroll source (touchpad
two-finger scroll, physical wheel).

Scroll bindings now emit press+release together as a single notch and
repeat while held (350ms delay, 90ms interval), stopping on release. Also
drop the delta-0 MOUSEEVENTF_WHEEL sent on every scroll release in
relative-mouse mode; the notch is fully delivered by the press.
@Xnick417x
Xnick417x marked this pull request as draft July 27, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant