Horizontal mouse wheel support for MS-Windows #72123

Open
opened 2019-12-02 16:26:37 +01:00 by Noke · 13 comments

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: 26bd5ebd42
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?

**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: `26bd5ebd42` 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?
Author

Added subscriber: @Noke

Added subscriber: @Noke
Member

Added subscriber: @Harley

Added subscriber: @Harley
Member

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.

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.
Member

This comment was removed by @Harley

*This comment was removed by @Harley*
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Member

WM_MOUSEWHEEL is what we currently use

WM_MOUSEWHEEL is what we currently use

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Campbell Barton changed title 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 2020-01-21 14:43:32 +01:00
Campbell Barton changed title from Horizontal mouse wheel support for windows to Horizontal mouse wheel support for MS-Windows 2020-01-21 14:43:44 +01:00

Added subscriber: @jenkm

Added subscriber: @jenkm

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.

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.

Added subscriber: @Zuorion-4

Added subscriber: @Zuorion-4

Added subscriber: @ntotao

Added subscriber: @ntotao

Added subscriber: @3di

Added subscriber: @3di

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:

image.png

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: ![image.png](https://archive.blender.org/developer/F13296387/image.png)
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
8 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#72123
No description provided.