Mouse acceleration

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 or images until they have at least 4 posts.
Post Reply
TemporaryFailure
New User
Posts: 2
Joined: Wed Apr 15, 2020 7:04 am

Mouse acceleration

Post by TemporaryFailure »

So when we can adjust mouse acceleration with XMouse? Speed control has 10 steps. It could be more like 20 steps.

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

Re: Mouse acceleration

Post by phil »

XMBC uses Windows mouse hooks to intercept and manipulate mouse button messages. As for cursor speed, all it does is manipulate the standard Windows mouse speed setting (on a per profile basis if you so wish). That only has 10 steps. Unfortunately, performing acceleration in a mouse hook is really not the right place to do it, because you cant modify/multiply the distance/movement etc. in there. I would have to throw out the movement all together and re-inject a new movement message - and that would a) cause lag and b) not work in any application that block sendinput (many games) and that means the mouse cursor wouldn't move at all in those cases - rather dangerous!

This is how invert axis works but that's less important if it does not work in games etc. as it does not completely stop the mouse working! So don't hold your breath for this one. Unless Windows has an acceleration setting that I haven't found (it does not exist in my mouse control panel settings), it wont be possible in XMBC.
--[ 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 500Gb NVME, 2x2TB WD Black (RAID1)

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

Re: Mouse acceleration

Post by phil »

Having said that - I just found this https://superuser.com/questions/469044/ ... ws-regedit
I wonder if it still applies.... Will add it to the list to investigate
--[ 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 500Gb NVME, 2x2TB WD Black (RAID1)

TemporaryFailure
New User
Posts: 2
Joined: Wed Apr 15, 2020 7:04 am

Re: Mouse acceleration

Post by TemporaryFailure »

Thanks. That would be absolutely super! :cheers:

BurrJ
New User
Posts: 3
Joined: Sun Jul 12, 2020 3:49 am

Re: Mouse acceleration

Post by BurrJ »

I was wondering the same thing, but also wondering if it was possible to have a hotkey turn off and on acceleration (precision)? I use XBMC's speed and acceleration to help with a golf swing in a game, but the acceleration causes the putting to be a little weird. Would be nice if it was able to turn it off/on if that was possible.


Also, on the topic of changing the acceleration curve. I use a Kensington Expert mouse, and the Kennsington software gives me the option of controlling the acceleration, so it seems it is a possibility. It does seem that XBMC overrides the Kennsington however, as I can change it's settings when I have XBMC open and it has no effect.

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

Re: Mouse acceleration

Post by phil »

Just to be clear, ALL XMBC is doing with the mouse cursor speed (and the enhance pointer precision setting) is changing the standard Windows mouse pointer settings. No more, No less.

*If* Windows has an acceleration setting (in the pointer settings), its normally not visible so may not be available for all devices or may need the device's driver to implement something (I'm simply not sure about that and haven't looked at that).

Right now these settings are not available in XMBC via the hotkeys, except for cycling/stepping through a set of cursor speeds. You can however turn the "enhance pointer precision" (if that is what you are talking about?) on a per-profile basis so you could create a profile for your golf game and turn it off on that profile - maybe?
--[ 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 500Gb NVME, 2x2TB WD Black (RAID1)

BurrJ
New User
Posts: 3
Joined: Sun Jul 12, 2020 3:49 am

Re: Mouse acceleration

Post by BurrJ »

Thanks Phil. I was actually wanting to use (and be able to turn off) the "enhance pointer precision" during the game. It seems to work well for the golf swing with normal clubs, but I'd want to turn it off when I go to putt.

Is it possible to change profiles while I'm playing the game? Maybe that would work...hmm.

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

Re: Mouse acceleration

Post by phil »

Ahh I see, OK thats not going to be so easy....
So profiles are switched automatically based on the active exe/window - so it wont be possible to switch automatically during the same game. Normally I'd say use layers - but thats for button configuration, and not the scrolling settings that are only per profile. That I guess is a short fall in feature set :(. I think the best you could probably do is set Windows default to disable pointer precision, set XMBC to enable it, then turn off XMBC when putting (you can do that by hotkey or scroll lock) - I know thats all a bit messy but without going down another route (like making an autohotkey script maybe - not sure if AHK can toggle that setting) I cant think of another way the way things are right now.

Regards,
Phil
--[ 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 500Gb NVME, 2x2TB WD Black (RAID1)

BurrJ
New User
Posts: 3
Joined: Sun Jul 12, 2020 3:49 am

Re: Mouse acceleration

Post by BurrJ »

Disabling XBMC could very well work, I'll have a try at that. Thanks for the suggestion. In the end, it's a minor annoyance that I'm sure I can learn to deal with.

I'd be willing to bet you could toggle that setting with AHK. It's been my experience over the years there isn't much AHK can't do. :D

I did find a program someone wrote which sets mouse speed and precision as a command line argument, so that would probably be the easiest route.

Post Reply