Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to adjust the horizontal scroll BUTTON speed for M720? #153

Open
rwxe opened this issue Nov 13, 2020 · 4 comments · May be fixed by #243
Open

How to adjust the horizontal scroll BUTTON speed for M720? #153

rwxe opened this issue Nov 13, 2020 · 4 comments · May be fixed by #243

Comments

@rwxe
Copy link

rwxe commented Nov 13, 2020

First of all, I'm very grateful to the author for creating this project.
I have a little problems when using it.
I'm using the Logitech M720, which doesn't have thumb wheel but has a 4-way wheel. The wheel can be press to the side to achieve left and right scroll. Whether I use logiops or not, my horizontal scroll button is very slow, and I wonder if there is any way to adjust its speed.
I did try add the thumbwheel option in the logid.cfg like this:

thumbwheel:
    {
        divert: true;
        invert: false;
        left: {
            mode: "Axis";
            axis: "REL_HWHEEL_HI_RES";
            axis_multiplier: -10;
        },
        right: {
            mode: "Axis";
            axis: "REL_HWHEEL_HI_RES";
            axis_multiplier: 10;
        };
    }

But it doesn't work.
Then I tried to remap the left and right scroll button. The left scroll button named button 6 in xev, the cid is 0x5b. I tired to simulate the left scroll event first, use the evtest capture the input event, the output is:

Event: time 1605262840.231548, type 2 (EV_REL), code 6 (REL_HWHEEL), value -1
Event: time 1605262840.231548, type 2 (EV_REL), code 12 (REL_HWHEEL_HI_RES), value -120
Event: time 1605262840.231548, -------------- SYN_REPORT ------------

And then I realized that I can't simulate it with Keypress option.
So is there a way to adjust the speed of the horizontal scroll button? Maybe I should use the axis mode to set a gesture, but I did read the configuration page, but still don't know how.
imwheel can set the horizontal scrolling speed, but I'm looking for a simpler (i.e. only logiops) solution.
Any help would be appreciated, thanks.

@tyler-dot-earth
Copy link

I'm also interested in a solution for adjusting the thumbwheel scroll speed. I would have assumed that I could use some sort of hires or multiplier property, but I haven't been able to figure it out either.

@S-trace
Copy link

S-trace commented May 8, 2021

Please take a look at the pull request #243 - it allows to map mouse buttons to axis changes (use REL_WHEEL_HI_RES or REL_WHEEL for vertical scrolling and REL_HWHEEL_HI_RES or REL_HWHEEL for horizontal scrolling).

@artillerymans
Copy link

Can you provide me with a M720 configuration file,thank!!!!

@rwxe
Copy link
Author

rwxe commented May 20, 2022

Can you provide me with a M720 configuration file,thank!!!!

My blog might answer your questions
https://segmentfault.com/a/1190000039985213

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants