Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,359 Location: Tampa, FL Thanks: 28 times Was thanked: 419 time(s) in 356 post(s)
|
This plug-in will enable mouse wheel acceleration, so scrolling the mouse wheel quickly will amplify the distance of the scrolling when you scroll fast, or scroll at the normal speed when you scroll slowly. https://www.strokesplus.net/files/plugins/MouseWheelAcceleration_Source_1.3.zipThat is the entire source of the plug-in, so feel free to change it as you like! In the bin/Release folder is the plug-in, MouseWheelAcceleration.dll - you can just extract that file and add the plug-in to S+. It supports a few properties to adjust the timing, multiplier/division values, and count cap (from this post https://hail2u.net/blog/coding/autohotkey-accelerate-wheel-scroll.html) Code:MouseWheelAcceleration.ResetMilliseconds = 40;
MouseWheelAcceleration.WheelCountCap = 40;
MouseWheelAcceleration.WheelCountDivide = 8
MouseWheelAcceleration.WheelCountMultiplier = 3
I set my timeout (ResetMilliseconds) to 40 milliseconds so it doesn't start to scroll too fast unless I scroll fast. The other values shown above are their defaults, so you don't need to include them. I put the above code in my Load tab. Note that this binds to the asynchronous mouse event, so it does not interfere with the mouse wheel event (nor will it consume it), but I only send additional mouse wheel events if the wheelCount is greater than 1, so a single wheel scroll doesn't always send an extra one. P.S. You might need to right-click the DLL and mark it as safe/unblock if you used Windows to extract the zip file. IMPORTANT: You must check Options > Advanced > Enable Mouse Hook Event Subscription to allow the plug-in to subscribe to mouse events. Edited by user Wednesday, June 9, 2021 1:54:44 PM(UTC)
| Reason: Updated download to version 1.3
|
|
|
|
Rank: Newbie
Groups: Approved
Joined: 7/23/2019(UTC) Posts: 7 Thanks: 1 times
|
Is there any other setting that we have to set. Because it didn't work for me? Edited by user Tuesday, March 16, 2021 8:11:43 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,359 Location: Tampa, FL Thanks: 28 times Was thanked: 419 time(s) in 356 post(s)
|
Oh yeah I forgot, check this box:
Options > Advanced > Enable Mouse Hook Event Subscription
|
|
|
|
Rank: Newbie
Groups: Approved
Joined: 7/23/2019(UTC) Posts: 7 Thanks: 1 times
|
Originally Posted by: Rob Oh yeah I forgot, check this box:
Options > Advanced > Enable Mouse Hook Event Subscription If i enable this option, pc hangs too much especially using wheel.
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,359 Location: Tampa, FL Thanks: 28 times Was thanked: 419 time(s) in 356 post(s)
|
Interesting.
What version of Windows are you using?
Are you using the installer version of S+ or portable?
Do you have any other programs running that hook the mouse? (like AHK, etc.)
|
|
|
|
Rank: Newbie
Groups: Approved
Joined: 7/23/2019(UTC) Posts: 7 Thanks: 1 times
|
Originally Posted by: Rob Interesting.
What version of Windows are you using?
Are you using the installer version of S+ or portable?
Do you have any other programs running that hook the mouse? (like AHK, etc.) Windows 10 1909. Installer version od S+. I'm not using any other programs that related to mouse or keyboard.
|
|
|
|
Rank: Newbie
Groups: Approved
Joined: 7/23/2019(UTC) Posts: 7 Thanks: 1 times
|
For speed up or slow down which values we should change?
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,359 Location: Tampa, FL Thanks: 28 times Was thanked: 419 time(s) in 356 post(s)
|
Honestly, I just copied the logic posted by misaki4650 from this post: https://hail2u.net/blog/coding/autohotkey-accelerate-wheel-scroll.htmlI haven't tried to tinker with the logic/values at all, but you can try changing some of the values I posted at the top and see what happens!
So when you say the PC hangs, what exactly happens? Like do you get an hourglass type of cursor? Do things just kind of stall until the mouse wheel messages are caught up? Do you have any script in your Mouse Events > Mouse Wheel tab?
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,359 Location: Tampa, FL Thanks: 28 times Was thanked: 419 time(s) in 356 post(s)
|
I am seeing it happen too under certain conditions, I will research and update this post when I have identified the cause.
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,359 Location: Tampa, FL Thanks: 28 times Was thanked: 419 time(s) in 356 post(s)
|
Try S+ 0.4.2.1 and mouse acceleration 1.1 (I updated link above).
Changed the hooks and plug-in to use the ThreadPool instead of spinning up new threads for each event.
I'm not sure if it will make a difference, but let me know.
|
|
|
|
Rank: Newbie
Groups: Approved
Joined: 7/23/2019(UTC) Posts: 7 Thanks: 1 times
|
Originally Posted by: Rob Try S+ 0.4.2.1 and mouse acceleration 1.1 (I updated link above).
Changed the hooks and plug-in to use the ThreadPool instead of spinning up new threads for each event.
I'm not sure if it will make a difference, but let me know. With "mouse acceleration 1.1" plugin mouse acceleration is unstable. Sometimes working sometimes not.
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,359 Location: Tampa, FL Thanks: 28 times Was thanked: 419 time(s) in 356 post(s)
|
Can you provide any additional details? What values do you have set? How does the issue present?
It seems to be working fine for me.
Aside from that, have you noticed any hanging?
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close