You are not logged in.

#1 2016-03-20 03:01:08

raddecen
Member
Registered: 2015-12-19
Posts: 26

Disable Mouse Acceleration Logitech G402

I use bspwm and when I try to resize or move frames, they don't act synchronously with the mouse pointer movement. Using a cheap mouse (with probably no acceleration) works as it should. I tried disabling the mouse acceleration of my Logitech G402 but it didn't work. There isn't an option to do this the Windows software provided with the mouse.
Here's the relevant output.

~ $ xinput
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Logitech Gaming Mouse G402              	id=11	[slave  pointer  (2)]
⎜   ↳ Logitech Gaming Mouse G402              	id=12	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Power Button                            	id=8	[slave  keyboard (3)]
    ↳ DELL Dell USB Wired Multimedia Keyboard 	id=9	[slave  keyboard (3)]
    ↳ DELL Dell USB Wired Multimedia Keyboard 	id=10	[slave  keyboard (3)]
    ↳ Logitech Gaming Mouse G402              	id=13	[slave  keyboard (3)]


~ $ xinput list-props 11
Device 'Logitech Gaming Mouse G402':
	Device Enabled (132):	1
	Coordinate Transformation Matrix (134):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Accel Speed (268):	0.000000
	libinput Accel Speed Default (269):	0.000000
	libinput Accel Profiles Available (270):	1, 1
	libinput Accel Profile Enabled (271):	1, 0
	libinput Accel Profile Enabled Default (272):	1, 0
	libinput Natural Scrolling Enabled (273):	0
	libinput Natural Scrolling Enabled Default (274):	0
	libinput Send Events Modes Available (252):	1, 0
	libinput Send Events Mode Enabled (253):	0, 0
	libinput Send Events Mode Enabled Default (254):	0, 0
	libinput Left Handed Enabled (275):	0
	libinput Left Handed Enabled Default (276):	0
	libinput Scroll Methods Available (277):	0, 0, 1
	libinput Scroll Method Enabled (278):	0, 0, 0
	libinput Scroll Method Enabled Default (279):	0, 0, 0
	libinput Button Scrolling Button (280):	2
	libinput Button Scrolling Button Default (281):	274
	libinput Middle Emulation Enabled (282):	0
	libinput Middle Emulation Enabled Default (283):	0
	Device Node (255):	"/dev/input/event9"
	Device Product ID (256):	1133, 49278
	libinput Drag Lock Buttons (284):	<no items>
	libinput Horizonal Scroll Enabled (257):	1


~ $ xinput list-props 12
Device 'Logitech Gaming Mouse G402':
	Device Enabled (132):	1
	Coordinate Transformation Matrix (134):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Natural Scrolling Enabled (273):	0
	libinput Natural Scrolling Enabled Default (274):	0
	libinput Send Events Modes Available (252):	1, 0
	libinput Send Events Mode Enabled (253):	0, 0
	libinput Send Events Mode Enabled Default (254):	0, 0
	Device Node (255):	"/dev/input/event10"
	Device Product ID (256):	1133, 49278
	libinput Drag Lock Buttons (284):	<no items>
	libinput Horizonal Scroll Enabled (257):	1


~ $ xinput list-props 13
Device 'Logitech Gaming Mouse G402':
	Device Enabled (132):	1
	Coordinate Transformation Matrix (134):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Natural Scrolling Enabled (273):	0
	libinput Natural Scrolling Enabled Default (274):	0
	libinput Send Events Modes Available (252):	1, 0
	libinput Send Events Mode Enabled (253):	0, 0
	libinput Send Events Mode Enabled Default (254):	0, 0
	Device Node (255):	"/dev/input/event10"
	Device Product ID (256):	1133, 49278
	libinput Horizonal Scroll Enabled (257):	0

I tried setting the variable 268 to -1 but that decreases the speed of the mouse pointer but doesn't disable the acceleration. I tried setting the value of the variables 270, 271, and 272 to -1 but either that gave me an error or didn't have any effect. The Arch Wiki page here works on options like "AccelerationProfile", "AccelerationScheme" and "AccelSpeed" but I don't have (exactly) those options in the output. What should I do? hmm

Last edited by raddecen (2016-03-20 03:02:29)

Offline

Board footer

Powered by FluxBB