Moving from evdev to libinput, I cannot set mouse acceleration greater than 1
0
votes
0
answers
76
views
I'm currently using the i3 window manager, so I need to setup my mouse from the command line. I could previously use
xset m 2/1 0
to get the mouse speed I wanted using xev. But moving to libinput driver, xset m
no longer works. If I try
xinput set-prop "Logitech ERGO M575" "libinput Accel Speed" 1
This just isn't fast enough and libinput won't take a number higher than 1. A couple of other posts mention chance deceleration, but my mouse doesn't have that property. All I have is the following:
xinput list-props "Logitech ERGO M575"
Device 'Logitech ERGO M575':
Device Enabled (175): 1
Coordinate Transformation Matrix (177): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (304): 0
libinput Natural Scrolling Enabled Default (305): 0
libinput Scroll Methods Available (306): 0, 0, 1
libinput Scroll Method Enabled (307): 0, 0, 1
libinput Scroll Method Enabled Default (308): 0, 0, 0
libinput Button Scrolling Button (309): 8
libinput Button Scrolling Button Default (310): 2
libinput Button Scrolling Button Lock Enabled (311): 0
libinput Button Scrolling Button Lock Enabled Default (312): 0
libinput Middle Emulation Enabled (313): 0
libinput Middle Emulation Enabled Default (314): 0
libinput Rotation Angle (287): 0.000000
libinput Rotation Angle Default (288): 0.000000
libinput Accel Speed (315): 1.000000
libinput Accel Speed Default (316): 0.000000
libinput Accel Profiles Available (317): 1, 1, 1
libinput Accel Profile Enabled (318): 1, 0, 0
libinput Accel Profile Enabled Default (319): 1, 0, 0
libinput Accel Custom Fallback Points (320):
libinput Accel Custom Fallback Step (321): 0.000000
libinput Accel Custom Motion Points (322): 1.000000, 0.000000
libinput Accel Custom Motion Step (323): 2.000000
libinput Accel Custom Scroll Points (324):
libinput Accel Custom Scroll Step (325): 0.000000
libinput Left Handed Enabled (326): 0
libinput Left Handed Enabled Default (327): 0
libinput Send Events Modes Available (289): 1, 0
libinput Send Events Mode Enabled (290): 0, 0
libinput Send Events Mode Enabled Default (291): 0, 0
Device Node (292): "/dev/input/event7"
Device Product ID (293): 1133, 16534
libinput Drag Lock Buttons (328):
libinput Horizontal Scroll Enabled (329): 1
libinput Scrolling Pixel Distance (330): 15
libinput Scrolling Pixel Distance Default (331): 15
libinput High Resolution Wheel Scroll Enabled (332): 1
I found [a blog post about using custom motion points](https://who-t.blogspot.com/2023/01/libinput-and-custom-pointer.html) but if I try to use those settings and change the Step to 2, the mouse is just really random and janky. I don't understand from this post how to simply change the acceleration to 2x.
[This post indicates](https://askubuntu.com/questions/1267142/how-to-set-change-i3wm-mouse-speed-not-acceleration) I can use the "Coordinate Transformation Matrix"
. I tried changing the default so the last number was 0 and still no speed change.
Why is libinput limited from 0,1? This very basic thing I could do with xev seems complication and/or impossible on libinput!
Asked by djsumdog
(820 rep)
Feb 22, 2025, 02:59 PM