rust-windowing / rust-windowing/winit
Windows: Support `WM_HSCROLL` and `WM_VSCROLL`
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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