Mouse wheel being passed thru to apps even when remapped

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
evilc
Member
Posts: 24
Joined: Mon May 10, 2010 12:22 am

Mouse wheel being passed thru to apps even when remapped

Post by evilc »

I am finding that even if I reprogram mouse wheel up and down to something else, they still perform the original function in some games.

(Win 7 x64)

For example, BF2:BC and League of Legends.

In BF2:BC, I program wheelup and wheeldown to number keys to directly select weapons, but I have to unprogram wheelup and wheeldown in the game as if I do not, it also triggers the cycle thru weapons binding.

In LoL, I cannot use XMouse because even though I program wheelup and wheeldown to number keys, it still triggers the zoom in and zoom out, which is not changeable in-game. Also the number keys do not seem to trigger the in-game functions (Although if I open a chat box, I see the numbers appear - but it also zooms the view in and out).

Any ideas / workarounds?
Selas
New User
Posts: 11
Joined: Thu Sep 30, 2010 3:03 pm

Re: Mouse wheel being passed thru to apps even when remapped

Post by Selas »

Sounds like an issue I have found and documented in the last link below, just install x-mouse 1.50 which you can find in the first link. :-)

http://www.softpedia.com/get/Tweak/Syst ... trol.shtml

viewtopic.php?f=6&t=468
evilc
Member
Posts: 24
Joined: Mon May 10, 2010 12:22 am

Re: Mouse wheel being passed thru to apps even when remapped

Post by evilc »

Thanks for the reply, but I think this is slightly different. It happens all the time, not just when MB1 or 2 are held.

I could try Xmouse 1.5 though.
User avatar
phil
Site Admin
Posts: 7674
Joined: Sun Apr 06, 2003 11:12 pm

Re: Mouse wheel being passed thru to apps even when remapped

Post by phil »

Its possible that the games are interception the wheel in a different way to XMBC. XMBC uses mouse hooks to intercept the message (and change it) before its sent on to windows.

Most games use directX and direct input which might get handled differently. Cant be sure - it might be a bug in XMBC I will see when I have a look at the other wheel related post.

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/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)
User avatar
phil
Site Admin
Posts: 7674
Joined: Sun Apr 06, 2003 11:12 pm

Re: Mouse wheel being passed thru to apps even when remapped

Post by phil »

hi, I cant see anything obvious with this. If XMBC intercepts the message and remaps it, it does not pass on the original message. Therefore the game must be getting the message before XMBc changes it, or through a different API (DirectInput maybe).

In this case, XMBC will not be able to "cancel" the original message - and therefore you see this problem.
I guess it comes down to hoe the game is programmed (NOTE: I don't have either of those two si its not easy for me to verify and be sure I'm 100% correct with this assumption).

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/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)
evilc
Member
Posts: 24
Joined: Mon May 10, 2010 12:22 am

Re: Mouse wheel being passed thru to apps even when remapped

Post by evilc »

Thanks for looking Phil.

By the way, League of Legends is free, in case you are inclined to look at it ;)

http://www.leagueoflegends.com/
User avatar
phil
Site Admin
Posts: 7674
Joined: Sun Apr 06, 2003 11:12 pm

Re: Mouse wheel being passed thru to apps even when remapped

Post by phil »

Hi,

I grabbed a copy of LoL but unfortunatly was only able to confirm my previous thoughts.
The mouse scroll message is being captured in some other way in this game (and possible many more).

XMBC is unable to stop it receiving the message :(

Sorry about that, but I don't think there is anything I can do in XMBC to "fix" it.

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/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)
evilc
Member
Posts: 24
Joined: Mon May 10, 2010 12:22 am

Re: Mouse wheel being passed thru to apps even when remapped

Post by evilc »

FYI, I think I may have a partial solution - at least for logitech mice.

There is a logitech SDK that will let you mimic the behaviour of the logitech configuration app, and seeing as that works, it should make xmouse work.

I am currently trying to use ZWDA but it won't work properly with x64 windows yet. Apparently it overcomes this problem using this method though.
User avatar
phil
Site Admin
Posts: 7674
Joined: Sun Apr 06, 2003 11:12 pm

Re: Mouse wheel being passed thru to apps even when remapped

Post by phil »

Very interesting, thanks for the link.
It looks like that ZWDA may evolve to be a good XMBC replacement :!:

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/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