Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
#1 Posted : Saturday, August 15, 2020 1:58:38 AM(UTC)

Rank: Member


Groups: Approved
Joined: 3/24/2020(UTC)
Posts: 29
Location: Milano

Thanks: 2 times
I need to use a secondary button to do that gesture you told me to control volume (Button+ Scroll Wheel)
Sometimes i have to use mouse with my left hand and it's more comfortable if that gesture is Left Button + Scroll Wheel instead of the primary Right Button.

But i need Left Button only for that gesture and i don't want secondary button to be always active. i use left click to move video players (and windows in general when they are not maximized) but if i set left click as secondary button then it always try to do some gesture and it moves windows only when i release buttons
#2 Posted : Wednesday, August 19, 2020 6:06:52 AM(UTC)

Rank: Administration


Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 684
United States
Location: Tampa, FL

Thanks: 13 times
Was thanked: 155 time(s) in 134 post(s)
You can use the Left Click and Mouse Wheel events to handle this.

Global Actions > Mouse Events > Left Click

Check Enabled, leave Consume unchecked
//On left button down store a variable that the Mouse Wheel script looks for, on release delete it
if(click.Down) {
    sp.StoreBool("VolumeScrollActive", true)
} else {

Global Actions > Mouse Events > Mouse Wheel
//If variable from Left Click script is set, the left button is down, so change volume
if(sp.GetStoredBool("VolumeScrollActive")) {
    //wheel.Delta is a positive or negative number, indicating the direction the wheel was scrolled
    if(wheel.Delta > 0) {
    } else {
Users browsing this topic
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.