I cannot disable mouse acceleration

My mouse acceleration won’t let itself be disabled. Despite it clearly being disabled in the xinput props list

Device 'ckb1: CORSAIR HARPOON RGB PRO Gaming Mouse vM':
	Device Enabled (154):	1
	Coordinate Transformation Matrix (156):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Accel Speed (296):	-0.600000
	libinput Accel Speed Default (297):	0.000000
	libinput Accel Profiles Available (298):	1, 1
	libinput Accel Profile Enabled (299):	0, 1
	libinput Accel Profile Enabled Default (300):	1, 0

The libinput Accel Speed (296): -0.600000 property changed alongside changing the “acceleration” setting in Mouse/Touchpad. If I set acceleration to 0 in the Mouse and Touchpad window the Accel speed becomes -1 and the mouse becomes so slow its unusable: I am basically being forced to use mouse acceleration or else my mouse wont work properly. If I set my acceleration to 5 Accel Speed becomes 0, but the mouse still clearly has acceleration on it and also becomes way too fast for precision aiming in games. Why is lininput giving me bad information about my mouse acceleration?

But why should Accel Speed matter at all to my mouse? The acceleration profile isn’t enabled!

I cannot edit Profile Enabled Default, and when I do list props my mouse is listed as “virtual pointer”, I have no idea if this is related to the problem but my earlier installations didn’t have this.

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Logitech Logi TKL Mechanical Keyboard   	id=10	[slave  pointer  (2)]
⎜   ↳ ckb1: CORSAIR HARPOON RGB PRO Gaming Mouse vM	id=12	[slave  pointer  (2)]

I have tried three different xorg.conf.d (50-mouse-acceleration and 99-libinput-custom-config) configurations, none have worked, the acceleration persists.

Another curiosity is that my keyboard is listed as a mouse in Mouse and Touchpad, and has BOTH acceleration AND sensitivity: on older installations (Manjaro XFCE) my mouse used to have both an acceleration and sensitivity slider, but for some reason my mouse ONLY has an acceleration option.
The keyboard also has a “return to default setting”, another button thats missing from the actual mouse’s window. I am starting to think my entire mouse isn’t being used correctly by the system, but I don’t know how to investigate this. The driver is ckb-next but in the past it hasn’t affected the mouse negatively.

Did something break recently? Why can’t I disable mouse acceleration on my build? Earlier installations had mouse accelerations disabled, why can’t this one?

Edit:

Moreover, libinput list-devices shows my mouse as both mouse and keyboard alongside a bunch of settings it cannot retrieve

Device:           ckb1: CORSAIR HARPOON RGB PRO Gaming Mouse vKB
Kernel:           /dev/input/event2
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           ckb1: CORSAIR HARPOON RGB PRO Gaming Mouse vM
Kernel:           /dev/input/event3
Group:            6
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

and xset returns its own story:

xset q | grep -A 1 Pointer                                       ✔ 
Pointer Control:
  acceleration:  2/1    threshold:  4

since this is labelled XFCE

in a terminal:
LANG=C xfce4-mouse-settings

or go to that location via:
settings mouse and touchpad …

choose your actual mouse device
from in between the touchpad and whatever else might be offered there

adjust acceleration with the slider …

there is a command line approach as well - which would do the same

or use

LANG=C xfce4-settings-editor

and adjust the values there

1 Like