Time required to automatically switch mouse setting

Post your questions, bug reports and feature requests here
i3v
Posts: 4
Joined: Sat Mar 29, 2014 2:50 pm

Time required to automatically switch mouse setting

Postby i3v » Sat Mar 29, 2014 2:56 pm

Hi,

I'd love the idea of the tool, but on my laptop, "auto-switching" between profiles takes 3 to 5 seconds each time, which is quite annoying. Is it possible to decrease this time somehow?

i3v
Posts: 4
Joined: Sat Mar 29, 2014 2:50 pm

Re: Time required to automatically switch mouse setting

Postby i3v » Sat Mar 29, 2014 11:38 pm

By the way, if timeout was introduces intentionally, for "filtering" - it's not working this way either. My mouse seem to send tiny cursor position updates time to time (just some less-that-one-pixel noise). So, once per 20 seconds, Mouse speed switcher switches self to "external mouse", which makes "auto-switching delay" even more annoying. Maybe it's a good idea to add some small "minimum movement" threshold, to trigger "auto-switching"...

Thank you!

User avatar
gpb
Site Admin
Posts: 404
Joined: Mon Dec 19, 2011 1:23 am

Re: Time required to automatically switch mouse setting

Postby gpb » Mon Mar 31, 2014 9:51 am

Unfortunately there is no way to shorten the time required to switch settings. 99.9% of that time is spent inside a single windows API call. On the systems where we tested the program it needs about half second to switch mouse speed. This time increases if you configure MouseSS to change other settings such as the number of lines to scroll or swap buttons since they require additional calls to the same windows API. With all options enabled switching settings can take up to 2 seconds. So the only advice I can give you is configure MouseSS to change only those parameters you really need.
It is also possible the time required to change settings depends on the running program because windows sends a notification to all programs to let them to know the updated settings so you could try to close all programs to see whether the speed can be improved.
Gianpaolo Bottin
gPhotoShow.com

User avatar
gpb
Site Admin
Posts: 404
Joined: Mon Dec 19, 2011 1:23 am

Re: Time required to automatically switch mouse setting

Postby gpb » Mon Mar 31, 2014 10:07 am

i3v wrote:By the way, if timeout was introduces intentionally, for "filtering" - it's not working this way either. My mouse seem to send tiny cursor position updates time to time (just some less-that-one-pixel noise). So, once per 20 seconds, Mouse speed switcher switches self to "external mouse", which makes "auto-switching delay" even more annoying. Maybe it's a good idea to add some small "minimum movement" threshold, to trigger "auto-switching"...

Thank you!


The delay is not introduced by MouseSS. There is a filter to avoid to switch setting too often but it works in a different way, basically after switching MouseSS ignores mouse events for half second. About your mouse sending small movements, at the moment MouseSS has no filter on mouse events. A single event coming from mouse is enough to trigger switching. later I will take a look at this issue and will try to add a filter for small movements.
Gianpaolo Bottin
gPhotoShow.com

i3v
Posts: 4
Joined: Sat Mar 29, 2014 2:50 pm

Re: Time required to automatically switch mouse setting

Postby i3v » Mon Mar 31, 2014 1:45 pm

OK, many thanks for the clarification!

User avatar
gpb
Site Admin
Posts: 404
Joined: Mon Dec 19, 2011 1:23 am

Re: Time required to automatically switch mouse setting

Postby gpb » Mon Mar 31, 2014 5:06 pm

Try this updated version:
http://www.gphotoshow.com/files/MouseSpeedSetup_340.exe

There is an additional setting to ignore small mouse movements, where "small" means less than 2 units. If it is too low there is a way to increase this value through a registry entry.
Gianpaolo Bottin
gPhotoShow.com

i3v
Posts: 4
Joined: Sat Mar 29, 2014 2:50 pm

Re: Time required to automatically switch mouse setting

Postby i3v » Wed Apr 02, 2014 11:01 pm

Thanks for the update!

The problem with "small movements" seem to be fixed for me.

It's also very nice of yours to leave an option to modify filter threshold in registry (although it already works OK for me :) ), however, I wasn't able to find any value, which is equal to 2 by default in HKCU\Software\GPGSoftware\MouseSpeedSwitcher\Settings ...

User avatar
gpb
Site Admin
Posts: 404
Joined: Mon Dec 19, 2011 1:23 am

Re: Time required to automatically switch mouse setting

Postby gpb » Thu Apr 03, 2014 4:02 pm

Sorry, I forgot the registry key.
The key is:
HKEY_CURRENT_USER\Software\GPGSoftware\MouseSpeedSwitcher\Config\MMoveLimit

enter it as DWORD value.
if not present the default is 2
Gianpaolo Bottin
gPhotoShow.com


Return to “Mouse Speed Switcher (quickly change mouse settings)”

Who is online

Users browsing this forum: No registered users and 1 guest