I recently got a Bluetooth key and mouse pair to clean up my desk. The mouse, I found was way too fast compared to the wired one. After some research I found this program (xinput) to be useful in this case.
My input devices:
-->
My input devices:
First
I listed my input devices:
user@box:$
xinput --list --short
⎡ Virtual
core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual
core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Wacom
ISDv4 E2 Finger touch id=10 [slave pointer (2)]
⎜ ↳ SynPS/2
Synaptics TouchPad id=12 [slave pointer (2)]
⎜ ↳ TPPS/2
IBM TrackPoint id=13 [slave pointer (2)]
⎜ ↳ Logitech
Logitech USB Optical Mouse id=15 [slave pointer (2)]
⎜ ↳ Dell
BT Mouse id=18 [slave pointer (2)]
⎜ ↳ Dell
BT Keyboard id=19 [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)]
↳ Sleep
Button id=8 [slave keyboard (3)]
↳ Integrated
Camera id=9 [slave keyboard (3)]
↳ AT
Translated Set 2 keyboard id=11 [slave keyboard (3)]
↳ ThinkPad
Extra Buttons id=14 [slave keyboard (3)]
↳ BTC
USB Multimedia Keyboard id=16 [slave keyboard (3)]
↳ BTC
USB Multimedia Keyboard id=17 [slave keyboard (3)]
Then
I checked the properties for my mouse:
user@box:$
xinput --list-props "Dell BT Mouse"
Device
'Dell BT Mouse':
Device
Enabled (131): 1
Coordinate
Transformation Matrix (133): 1.000000, 0.000000, 0.000000, 0.000000,
1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device
Accel Profile (249): 0
Device
Accel Constant Deceleration (250): 1.000000
Device
Accel Adaptive Deceleration (251): 1.000000
Device
Accel Velocity Scaling (252): 10.000000
Evdev
Axis Inversion (311): 0, 0
Evdev
Axes Swap (313): 0
Axis
Labels (314): "Rel X" (141), "Rel Y" (142)
Button
Labels (315): "Button Left" (134), "Button Middle"
(135), "Button Right" (136), "Button Wheel Up"
(137), "Button Wheel Down" (138), "Button Horiz Wheel
Left" (139), "Button Horiz Wheel Right" (140), "Button
Side" (546), "Button Extra" (547), "Button
Forward" (548), "Button Back" (549), "Button
Task" (550), "Button Unknown" (310), "Button
Unknown" (310), "Button Unknown" (310), "Button
Unknown" (310)
Evdev
Middle Button Emulation (316): 0
Evdev
Middle Button Timeout (317): 50
Evdev
Wheel Emulation (318): 0
Evdev
Wheel Emulation Axes (319): 0, 0, 4, 5
Evdev
Wheel Emulation Inertia (320): 10
Evdev
Wheel Emulation Timeout (321): 200
Evdev
Wheel Emulation Button (322): 4
Evdev
Drag Lock Buttons (323): 0
And
then I adjusted the velocity scaling:
user@box:$xinput
--set-float-prop "Dell BT Mouse" 252 1.0
No comments:
Post a Comment