PixlOne / logiops

An unofficial userspace driver for HID++ Logitech devices
GNU General Public License v3.0
3.42k stars 271 forks source link

Scroll speed adjustment: REL_WHEEL_HI_RES scrolls up on 'down' gesture. #427

Open al1357 opened 11 months ago

al1357 commented 11 months ago

Hi. I have a problem setting scroll speed on Debian 12, MX Master 2S, LogiOps v0.3.3 with REL_WHEEL_HI_RES axis, which previously worked on my Ubuntu install, I think it was LogiOps v0.2.4 there. Scroll down scrolls up instead of down. Here is my working Ubuntu config adjusted to v0.3.3(decimal axis_multiplier):

    hiresscroll:
    {
        hires: true;
        invert: false;
        target: true;
    up: {
        mode: "Axis";
        axis: "REL_WHEEL_HI_RES";
        axis_multiplier: 2.0;
    }
    down: {
        mode: "Axis";
        axis: "REL_WHEEL_HI_RES";
        axis_multiplier: -2.0;
    }
    };

I either need to set target: false and resign from adjusting scroll speed or use axis: "REL_WHEEL";. This offers worse precision in setting axis_multiplier where 1.8 is several lines and 1.9 is more than half page - it's not terrible though. Example of functioning config:

hiresscroll:
{
        hires: true;
        invert: false;
        target: true;
        up: {
                mode: "Axis";
                axis: "REL_WHEEL";
                axis_multiplier: 1.8;
        }
        down: {
                mode: "Axis";
                axis: "REL_WHEEL";
                axis_multiplier: -1.8;
        }
}

Can you please suggest how to use REL_WHEEL_HI_RES in a way that wheel direction works correctly?

For now I've changed back to v0.2.4 and it works as before.

Sdghasemi commented 9 months ago

I had the same issue on my MX Master 3S, since v0.2.4 had various bugs I used this PR to fix the problem on v3.3.0. Now everything works fine thanks to the author. https://github.com/PixlOne/logiops/pull/413

paolomainardi commented 6 months ago

@Sdghasemi how did you used it ? did you rebuild it your own version starting from there ?

markmb88 commented 1 month ago

@Sdghasemi how did you used it ? did you rebuild it your own version starting from there ?

you can fork this repo, merge the PR and build/install. seems to have worked for my MX Master 3's sometimes unresponsive scroll wheel