rust-windowing / rust-windowing/winit

Windows: Support `WM_HSCROLL` and `WM_VSCROLL`

Open
#2,129 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

DS - win32
Dominant language
Rust
Stars
6.2k
Forks
1.3k
Avg merge
2d 19h
Merged PRs (30d)
9

Description

Some devices report (like my Wacom tablet) report horizontal scroll events via WM_HSCROLL while the vertical scrolling is done via WM_MOUSEWHEEL..
We currently handle WM_MOUSEWHEEL/WM_MOUSEHWHEEL but not the WM_HSCROLL/WM_VSCROLL events.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Windows message-handling entry point that currently processes WM_MOUSEWHEEL and WM_MOUSEHWHEEL. Trace how those events become scroll input, then verify that WM_HSCROLL and WM_VSCROLL are handled consistently with the issue's device-reported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.