Feature request: Clear mouse wheel buffer when leaving current window

x64 Replacement/Alternative to Microsoft's IntelliMouse application.
Forum rules
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
Post Reply
UselessGuru
New User
Posts: 3
Joined: Fri Jun 25, 2021 7:17 pm

Feature request: Clear mouse wheel buffer when leaving current window

Post by UselessGuru »

Mouse used is Logitech MX Master 3 with a free spining mouse wheel.

Scenario:
I fast scroll using the free spinning wheel in one window, e.g. Chrome.
Then I move the mouse pointer to another window, e.g. Word, without activating the Word window.
Because the mouse wheel is still spinning, text in Word get scrolled too. This is not what I want.

Request / Idea:
I'd like a feature where the scroll buffer gets cleared (or any current scroll events get discarded) as soon as I leave the original window (where I started scrolling) until I scroll again.

Any ideas?

User avatar
phil
Site Admin
Posts: 7013
Joined: Sun Apr 06, 2003 11:12 pm

Re: Feature request: Clear mouse wheel buffer when leaving current window

Post by phil »

My thoughts are that it wouldn't be easy, because as far a I know, you can clear the windows mouse buffer, the best that could be done, off this top of my head would simply be to ignore the messages after switching windows - possible but could lead to difficulties, like when do you stop ignoring them!
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)

UselessGuru
New User
Posts: 3
Joined: Fri Jun 25, 2021 7:17 pm

Re: Feature request: Clear mouse wheel buffer when leaving current window

Post by UselessGuru »

phil wrote:
Sat Jun 26, 2021 8:29 pm
... would simply be to ignore the messages after switching windows - possible but could lead to difficulties, like when do you stop ignoring them!
The free spinning wheel can be stopped by holding the wheel, so no scoll events are fired anymore. This could be used to re-allow events.

How about:
1. Detecting when window is left
2. Ignore all scrolling events that occur faster than every X ms (while wheel is spinning)
3. Start accepting scrolling events again when they occur less than every X ms (after wheel got stopped)

UselessGuru
New User
Posts: 3
Joined: Fri Jun 25, 2021 7:17 pm

Re: Feature request: Clear mouse wheel buffer when leaving current window

Post by UselessGuru »

Any news on this idea?

User avatar
phil
Site Admin
Posts: 7013
Joined: Sun Apr 06, 2003 11:12 pm

Re: Feature request: Clear mouse wheel buffer when leaving current window

Post by phil »

No update, I really havnt had any time for XMBC in the last two years.
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)

Post Reply