Skip to content

[win] Discern trackpad/mouse wheel based on delta values - #192

Open
Gasparoken wants to merge 1 commit into
aseprite:betafrom
Gasparoken:fix-wheel-windows
Open

[win] Discern trackpad/mouse wheel based on delta values#192
Gasparoken wants to merge 1 commit into
aseprite:betafrom
Gasparoken:fix-wheel-windows

Conversation

@Gasparoken

Copy link
Copy Markdown
Member

No description provided.

aseprite-bot

This comment was marked as outdated.

@aseprite-bot

Copy link
Copy Markdown
Collaborator

clang-tidy review says "All clean, LGTM! 👍"

On Windows, precision touchpad scroll events arrive as WM_MOUSEWHEEL
with delta values smaller than WHEEL_DELTA (120), while discrete mice
always send exact multiples. Used this to set preciseWheel=true for
trackpad events, with proportional deltas scaled to a 1-11 range
comparable to macOS trackpad pixel deltas.
@aseprite-bot

Copy link
Copy Markdown
Collaborator

clang-tidy review says "All clean, LGTM! 👍"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants