Saturday, July 13, 2013

Gaming mouse too fast (sensitive) under Ubuntu Linux

I've got a set of RAPOO keyboard and mouse.  I bought it just because it's a set of really compact and quiet keyboard and mouse, but after I got it I figured it's for gaming so the speed is crazily fast when I use it under Linux.  I went to the "Mouse and Touchpad" to turn Acceleration and Sensitivity to the minimum value but it doesn't work.  Finally I've done the following to slow it down.

gideon@gideon-desktop-i5:~$ xinput --list --short
⎡ Virtual core pointer                     id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer               id=4 [slave  pointer  (2)]
⎜   ↳ RAPOO RAPOO 5G Wireless Device           id=9 [slave  pointer  (2)]
⎜   ↳ MemsArt MA144 RF Controller              id=11 [slave  pointer  (2)]
⎜   ↳ MemsArt MA144 RF Controller              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)]
    ↳ Power Button                             id=7 [slave  keyboard (3)]
    ↳ RAPOO RAPOO 5G Wireless Device           id=8 [slave  keyboard (3)]
    ↳ MemsArt MA144 RF Controller              id=10 [slave  keyboard (3)]
    ↳ MemsArt MA144 RF Controller              id=13 [slave  keyboard (3)]
gideon@gideon-desktop-i5:~$ xinput --set-prop 9 "Device Accel Velocity Scaling" 1
gideon@gideon-desktop-i5:~$ xinput --set-prop 9 "Device Accel Constant Deceleration" 2

For your mouse, the last 2 commands you may need to play around with the numbers to find the optimum value.