You are not logged in.

#1 2021-01-26 14:31:16

s1n7ax
Member
Registered: 2019-05-12
Posts: 6

Mouse pointer velocity is not persistent

I have following configuration to disable mouse acceleration and increase the velocity using "TransformationMatrix". I'm using X.

Section "InputClass"
	Identifier "My Mouse"
	Driver "libinput"
	MatchIsPointer "yes"
	Option "AccelProfile" "flat"
	Option "AccelSpeed" "0"
	Option "TransformationMatrix" "3 0 0 0 3 0 0 0 1"
EndSection

After a reboot, while the mouse is plugged in, options set in  "TransformationMatrix" doesn't work.  If unplug and plug the mouse, then only mouse pointer velocity increases.

Last edited by s1n7ax (2021-01-26 14:31:56)

Offline

#2 2021-01-26 15:20:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,612

Re: Mouse pointer velocity is not persistent

Check the xorg long on whether the pointer match hits and the config is applied to the device in the failing case.
If so, the config might be overridden by some initial session configuration (gnome?) - check the behavior w/ a naked X11 server (ie. xinit and an xterm)

Online

#3 2021-01-26 17:53:31

s1n7ax
Member
Registered: 2019-05-12
Posts: 6

Re: Mouse pointer velocity is not persistent

Config runs because after reboot mouse acceleration is disabled. I use dwm. Never have installed gnome or anything else. I log in using shell and use xinit to start X11.

Offline

#4 2021-01-26 20:49:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,612

Re: Mouse pointer velocity is not persistent

Config runs because after reboot mouse acceleration is disabled.

That's actually not hard evidence since it could be disabled by other means (eg. via xinput from the xinitrc or something called there)
Did you look at the log? Does it say the TransformationMatrix is being applied (before re-plugging the mouse)?

Online

Board footer

Powered by FluxBB