Maniphest T72123

Horizontal mouse wheel support for MS-Windows
Confirmed, LowTO DO

Assigned To
None
Authored By
Noke (noke)
Dec 2 2019, 4:26 PM
Tags
  • BF Blender
  • Platform: Windows
Subscribers
Harley Acheson (harley)
michael campbell (3di)
Noke (noke)
ntotao (ntotao)
PawelP (Zuorion)
Ray Molenkamp (LazyDodo)
Yevgeny Makarov (jenkm)
Tokens
"Like" token, awarded by noke.

Description

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.20

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-20 14:27, hash: rB26bd5ebd42e3
Worked: (optional)

Short description of error
Logitech MX Master 3 horizontal scrollwheel button works in mac os x, but not in windows 10 although both have the same settings in Preferences in Blender and Logitech Options App.

Exact steps for others to reproduce the error

STEPS TO REPRODUCE ISSUE:

  1. Rez object, select it and orbit around it in Mac OS High Sierra and Blender 2.81 using MX Master 3.
  2. Do the same, but in Windows 10.

Based on the default startup:
A. Performance in Mac OS is the expected: when using the horizontal scrollwheel button (thumb button mouse) orbits. Works in a similar way than when Orbit with the Magic Mouse.

B. In Windows 10 the thumb button doesn't work, even when the settings are the same in both computers for Blender and the mouse.

Why this happens and how can I get to make the thumb button to work in Blender for Windows?

Event Timeline

Noke (noke) created this task.Dec 2 2019, 4:26 PM
Germano Cavalcante (mano-wii) added a project: Platform: macOS.Dec 3 2019, 7:01 PM
Germano Cavalcante (mano-wii) edited projects, added Platform: Windows; removed Platform: macOS.Dec 4 2019, 6:57 PM
Harley Acheson (harley) added a subscriber: Harley Acheson (harley).Dec 4 2019, 7:27 PM

AFAIK, this is not (yet) implemented on Windows platform.

Looks like we'd have to support a new (since Vista) windows message WM_MOUSEHWHEEL (0x020E) as shown here:
https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-mousehwheel

From some (unsourced) doc:
When an application receives a WM_MOUSEHWHEEL message, it is responsible for retrieving the characters-to-scroll user setting (SPI_GETWHEELSCROLLCHARS) by using the SystemParametersInfo API. This setting will not be available on Windows 2000 and Windows XP, so use the value of 1. IntelliType Pro and IntelliPoint will maintain a substitute value for the characters-to-scroll user setting and send the correct number of WM_MOUSEHWHEEL messages.

So sounds like we'd get multiple WM_MOUSEHWHEEL messages for a single tilting action.

Of course this is assuming that Logitech MX Master 3 results in same messages as sent by the MS IntelliPoint.

Harley Acheson (harley) added a comment.Dec 4 2019, 7:38 PM
This comment was removed by Harley Acheson (harley).
Ray Molenkamp (LazyDodo) added a subscriber: Ray Molenkamp (LazyDodo).Dec 4 2019, 7:41 PM

WM_MOUSEWHEEL is what we currently use

Campbell Barton (campbellbarton) changed the task status from Needs Triage to Confirmed.Jan 21 2020, 2:40 PM
Campbell Barton (campbellbarton) triaged this task as Low priority.
Campbell Barton (campbellbarton) changed the subtype of this task from "Report" to "To Do".
Campbell Barton (campbellbarton) mentioned this in T66306: Platforms, Builds & Tests Module.
Campbell Barton (campbellbarton) renamed this task from Logitech MX Master 3 horizontal scrollwheel button works in mac os x, but not in windows 10 to Horizontal mouse wheel support for windows.Jan 21 2020, 2:43 PM
Campbell Barton (campbellbarton) renamed this task from Horizontal mouse wheel support for windows to Horizontal mouse wheel support for MS-Windows.
Noke (noke) awarded a token.May 24 2020, 11:51 PM
Yevgeny Makarov (jenkm) added a subscriber: Yevgeny Makarov (jenkm).Sep 3 2020, 10:39 PM

Some clarifications: the horizontal scroll wheel is not supported on macOS either.
Besides, the Blender has only WHEELUPMOUSE and WHEELDOWNMOUSE.

What the user describes here is MOUSEPAN event, such as a trackpad or Magic Mouse, as the report actually says.
Which Blender does not support at all on Windows, although there are two patches for this.

Aaron Carlisle (Blendify) moved this task from Backlog to TO DO on the Platform: Windows board.Oct 12 2020, 3:27 AM
PawelP (Zuorion) added a subscriber: PawelP (Zuorion).Dec 5 2021, 9:00 PM
ntotao (ntotao) added a subscriber: ntotao (ntotao).Feb 2 2022, 10:44 AM
michael campbell (3di) added a subscriber: michael campbell (3di).EditedJul 16 2022, 7:15 PM

just got the mx master 2s mouse myself. Would love to be able to use the horizontal scroll wheel for panning in the 3d viewport and 2d viewport.

Added it on the right click select if anyone wants to vote for it: https://blender.community/c/rightclickselect/ngXD/

In windows it shows up as Horizontal scrolling, whilst the top wheel is vertical scrolling: