-
-
Save henriklindgren/b5d2168c09d39e306aa3ca42467cf454 to your computer and use it in GitHub Desktop.
# /usr/share/X11/xorg.conf.d/50-mousetrapper.conf | |
# | |
# using "libinput debug-events --verbose", seems the scroll wheel report in 15 degree increments. | |
# Vertical scroll under-reports, horizontal works as promised. Not sure if hardware/software issue/choice in mousetrapper or just libinput issue. | |
Section "InputClass" | |
Identifier "MouseTrapper" | |
MatchUSBID "0d24:0010" | |
# Seems to be no need to match pointer even though it registers on keyboard as well | |
# MatchIsPointer "true" | |
Driver "libinput" | |
Option "NaturalScrolling" "false" | |
Option "LeftHanded" "false" | |
Option "TransformationMatrix" "1 0 0 0 1 0 0 0 3" | |
# not doing anything in libinput 1.15.5 for this mouse | |
# Option "RotationAngle" "15" | |
# Option "ScrollPixelDistance" "10" | |
# Option "HighResolutionWheelScrolling" "false" | |
EndSection |
@SpangeJ Hi! Sorry, for late reply.
Option "TransformationMatrix" "1 0 0 0 1 0 0 0 3"
For speed, change the "3" in the transformation matrix, it works as a multiplier from what I remember, so try setting it higher.
I have shelved trying to get it to work on xorg, it's supposedly easier to get the scroll working under wayland, but I haven't gotten around to testing it. Tried finding the references I had for what works better under wayland but no luck.
From what I remember, the vertical scroll only triggered an event every so often, and it has to do with how the mouse trapper functions, so there is probably no good workaround under xorg.
Thank you @henriklindgren
For speed, change the "3" in the transformation matrix, it works as a multiplier from what I remember, so try setting it higher.
I tried playing around with this setting for about a week now (I have to restart after every config change), but what happens is that the cursor speed slows down if I increase it, but I don't think the scrolling speeds up.
I ended up with the setting Option "TransformationMatrix" "1 0 0 0 1 0 0 0 1"
along with
Option "HighResolutionWheelScrolling" "true"
, I am 80% happy, cursor speed is to my satisfaction, the scrolling is smooth, but not fast enough.
I'll let you know if I make any discoveries.
Hello @SpangeJ
Thanks for sharing your setup. Did you change anything else in the meantime?
I added "Scroll Method Enabled" 0, 0, 1
and "Button Scrolling Button" 3
which is a huge improvement to me because that way I can scroll using right click (hold) and the touchpad.
HI, @em-eu
I have two MouseTrappers, one at home, and one at the office.
The one at home is used with my personal, Windows, computer, but also when I have home-office with my Linux computer.
And they behave the same, they have the same scroll speed.
So I brought my office MouseTrapper home, connected it to my Windows machine, and it was configured automatically, and then it too behaved similarly to the other MT. However; today I brought it back to the office and the behavior is still as before with my Linux i.e. a slow scroll speed.
So maybe I will switch the two MTs around because I do not understand why the two MTs behave differently at my Linux machine.
Hello @henriklindgren
I'm a user of the MouseTrapper Advance 2.0 too, and I experience some of the same issues as you do.
I would like the MT to:
I have added your script to
/usr/share/X11/xorg.conf.d/
, but I'm not sure if it does anything.Any tips on modifying these parameters?
Here is some output from scrolling when I run
libinput debug-events --verbose
: