I have a mouse I just use for the buttons. I want to disable only the movement input of the mouse. Physically covering the sensor doesn't work.
How to disable a mouse movement input, while leaving mouse buttons enabled?
x11;mouse
You can use xinput.>xinput --list Virtual core pointer                      id=2    [master pointer  (3)]    Virtual core XTEST pointer            id=4    [slave  pointer  (2)]    Mouse0                                id=6    [slave  pointer  (2)] Virtual core keyboard                     id=3    [master keyboard (2)]     Virtual core XTEST keyboard           id=5    [slave  keyboard (3)]     Keyboard0There you get the name of the mouse in this case Mouse0.With the following command you slow down the speed of your mouse by a factor of 100000, which is then basically zero.xinput --set-prop 6 'Device Accel Constant Deceleration' 100000orxinput --set-prop Mouse0 'Device Accel Constant Deceleration' 100000To revert you can use the samexinput --set-prop Mouse0 'Device Accel Constant Deceleration' 1