Issues with "slow down mouse" and cycle mouse speeds
Posted: Wed May 19, 2021 11:20 am
XMBC Version: v2.19.2
Windows Version: Windows 10 64 bit
Mouse Information (brand/model): Kensington Orbit Fusion trackball & Microsoft Explorer Touch mouse
Relevant Computer Information (CPU, RAM etc): Intel i7 9750H; nVidia GTX 1660 Ti; 16GB RAM
Did the problem occur after an upgrade of XMBC? (If so, from what version?): no
Did the problem occur after a Windows update/upgrade? (If so, from what version?): no
How long have you used XMBC?: 2-3 weeks
What language and keyboard layout do you use in Windows?: US layout; Dutch and US-English languages
Clear description of the problem - try and include as much information as possible, including what button and mappings you are having problems with (if applicable).:
Ok so I have not exactly got to the bottom of what is going on here, but will try my best to explain as accurately as possible:
I thought I would combine a profile for two different mice - a trackball and a regular mouse - where I simply switch layer if I switch from device (Layer 1 trackball, layer 2 mouse). Both devices require a different mouse speed to be comfortable, so I used cycle mouse speed to get this done.
Mouse speed settings
Override Mouse speed is checked.
Default speed in profile is set to value 5 + enhanced pointer precision.
Default speed in global settings is identical.
Speed for cycle 1 and 3 are for trackball and are set to value 5
Speed for cycle 2 and 4 are for mouse and are set to value 9.
Hotkey CTRL+ALT+S is used to cycle between mouse speeds.
I change layer with simulated keystroke: {CTRL}{ALT}s{waitms:500}{layer:next} - so that mouse speed cylces automatically when I change layer (not sure if the waitms is required, haven't tried without yet).
For the trackball I also use a modifier key (CAPS) to slow cursor speed whenever I need to be more precise.
The problem
Layer is set to 1 and mouse speed cylce is set to 1. So mouse speed should be value 5.
When I use the modifier (CAPS) to slow down cursor speed and release again, it doesn't return to the original mouse speed it was set to, but it is suddenly super fast. (probably value 10, but no way to tell exactly).
I need to use the hotkey to cycle mouse speeds to get to the desired mouse speed again. Cycling mouse speed works entirely as expected, and the cycle number was as expected (it had not changed by the CAPS modifier).
The same behaviour occurs when I make a change some settigns in XMBC and click "apply" - doesn't matter what setting was changed, just hitting apply triggers the same behaviour: mouse speed is too fast, and I need to cycle mouse speeds to get back to expected behaviour.
Lastly, if I set the default speed (both in profile and global settings) to a low value, like 1 or zero, then a similar but opposite behaviour happens. If I relaese the modifier (CAPS) it resets to a very slow mouse speed (guessing value 1 or 2), rather than returning to the original speed.
It seems to have something to do with the default mouse speed settings, but I cannot exactly determine how it interacts. I thought maybe setting the default speed to value 2 or 3 might work around the issue, and it does to some extent - the resulting mouse speed is then not extremely fast or slow, but somewhere inbetween, but it is still not exactly the original mouse speed I desired (value 5), but probably something like value 4 or 6 (double the default value maybe??).
[EDIT] after some further experimenting, it seems the resulting mouse speed is double the value of the profile default setting, global setting doesn't matter.
[EDIT2] I further noticed that the same behaviour occurs when changing application profile - it automatically sets to 2x the default profile speed. It does not remember the cycle speed - which I guess does make some kind of sense, since otherwise different default speeds per profile wouldn't get picked up.
I guess there is 3 problems here:
1) The default speed values (slider) do not match with the number values of the cycled speeds. Default value 2 equals cycle value 4. This seems pretty odd to me.
2) It doesn't remember the cycle speed after slow cursor modifier is used.
3) It doesn't remember the cycle speed when changing application profile - which I guess is a tricky one, because there'd also be scenarios where you'd want to change mouse speed based on application profile. [s]Maybe there should be a checkbox in each profile, which says whether it should follow globally set cycle speed, or the application profile speed.[/s]--> see edit4, that checkbox actually exists lol, just interpreted it wrong before.
[EDIT3] Even better would be if the cycles can be set for each profile instead of globally. But then I would want it to remember which cycle it is in when changing between profiles, so I could set different values for for example cycle 2 for each application profile, and it would take on whatever value cycle 2 is set to when I change application, rather than resetting to the default value.
[EDIT4] sorry for keeping on editing this lol just figuring out things.
It seems that one part of the problem is solved by un-checking override mouse speed in the individual application profiles; then it will follow the global setting only, and then it will remember the cycle number when switching applications. I first thought that checkbox was for overriding windows mouse speed setting, but its actually for overriding the XMBC global setting..
The odd 2x difference between default speed and cycle speed is still there, and the resetting to default speed after slow cursor modifier is still an issue.
Windows Version: Windows 10 64 bit
Mouse Information (brand/model): Kensington Orbit Fusion trackball & Microsoft Explorer Touch mouse
Relevant Computer Information (CPU, RAM etc): Intel i7 9750H; nVidia GTX 1660 Ti; 16GB RAM
Did the problem occur after an upgrade of XMBC? (If so, from what version?): no
Did the problem occur after a Windows update/upgrade? (If so, from what version?): no
How long have you used XMBC?: 2-3 weeks
What language and keyboard layout do you use in Windows?: US layout; Dutch and US-English languages
Clear description of the problem - try and include as much information as possible, including what button and mappings you are having problems with (if applicable).:
Ok so I have not exactly got to the bottom of what is going on here, but will try my best to explain as accurately as possible:
I thought I would combine a profile for two different mice - a trackball and a regular mouse - where I simply switch layer if I switch from device (Layer 1 trackball, layer 2 mouse). Both devices require a different mouse speed to be comfortable, so I used cycle mouse speed to get this done.
Mouse speed settings
Override Mouse speed is checked.
Default speed in profile is set to value 5 + enhanced pointer precision.
Default speed in global settings is identical.
Speed for cycle 1 and 3 are for trackball and are set to value 5
Speed for cycle 2 and 4 are for mouse and are set to value 9.
Hotkey CTRL+ALT+S is used to cycle between mouse speeds.
I change layer with simulated keystroke: {CTRL}{ALT}s{waitms:500}{layer:next} - so that mouse speed cylces automatically when I change layer (not sure if the waitms is required, haven't tried without yet).
For the trackball I also use a modifier key (CAPS) to slow cursor speed whenever I need to be more precise.
The problem
Layer is set to 1 and mouse speed cylce is set to 1. So mouse speed should be value 5.
When I use the modifier (CAPS) to slow down cursor speed and release again, it doesn't return to the original mouse speed it was set to, but it is suddenly super fast. (probably value 10, but no way to tell exactly).
I need to use the hotkey to cycle mouse speeds to get to the desired mouse speed again. Cycling mouse speed works entirely as expected, and the cycle number was as expected (it had not changed by the CAPS modifier).
The same behaviour occurs when I make a change some settigns in XMBC and click "apply" - doesn't matter what setting was changed, just hitting apply triggers the same behaviour: mouse speed is too fast, and I need to cycle mouse speeds to get back to expected behaviour.
Lastly, if I set the default speed (both in profile and global settings) to a low value, like 1 or zero, then a similar but opposite behaviour happens. If I relaese the modifier (CAPS) it resets to a very slow mouse speed (guessing value 1 or 2), rather than returning to the original speed.
It seems to have something to do with the default mouse speed settings, but I cannot exactly determine how it interacts. I thought maybe setting the default speed to value 2 or 3 might work around the issue, and it does to some extent - the resulting mouse speed is then not extremely fast or slow, but somewhere inbetween, but it is still not exactly the original mouse speed I desired (value 5), but probably something like value 4 or 6 (double the default value maybe??).
[EDIT] after some further experimenting, it seems the resulting mouse speed is double the value of the profile default setting, global setting doesn't matter.
[EDIT2] I further noticed that the same behaviour occurs when changing application profile - it automatically sets to 2x the default profile speed. It does not remember the cycle speed - which I guess does make some kind of sense, since otherwise different default speeds per profile wouldn't get picked up.
I guess there is 3 problems here:
1) The default speed values (slider) do not match with the number values of the cycled speeds. Default value 2 equals cycle value 4. This seems pretty odd to me.
2) It doesn't remember the cycle speed after slow cursor modifier is used.
3) It doesn't remember the cycle speed when changing application profile - which I guess is a tricky one, because there'd also be scenarios where you'd want to change mouse speed based on application profile. [s]Maybe there should be a checkbox in each profile, which says whether it should follow globally set cycle speed, or the application profile speed.[/s]--> see edit4, that checkbox actually exists lol, just interpreted it wrong before.
[EDIT3] Even better would be if the cycles can be set for each profile instead of globally. But then I would want it to remember which cycle it is in when changing between profiles, so I could set different values for for example cycle 2 for each application profile, and it would take on whatever value cycle 2 is set to when I change application, rather than resetting to the default value.
[EDIT4] sorry for keeping on editing this lol just figuring out things.
It seems that one part of the problem is solved by un-checking override mouse speed in the individual application profiles; then it will follow the global setting only, and then it will remember the cycle number when switching applications. I first thought that checkbox was for overriding windows mouse speed setting, but its actually for overriding the XMBC global setting..
The odd 2x difference between default speed and cycle speed is still there, and the resetting to default speed after slow cursor modifier is still an issue.