Skip to content

Instantly share code, notes, and snippets.

@olibob
Created August 10, 2013 18:00
Show Gist options
  • Save olibob/6201449 to your computer and use it in GitHub Desktop.
Save olibob/6201449 to your computer and use it in GitHub Desktop.
Archlinux Logitech MX Revolution speed profile
Find device:
[bob@arch ScreenShots]$ xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech Logitech Illuminated Keyboard id=13 [slave pointer (2)]
⎜ ↳ ETPS/2 Elantech Touchpad id=16 [slave pointer (2)]
⎜ ↳ Logitech Unifying Device. Wireless PID:101a id=11 [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)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ USB 2.0 UVC 0.3M Webcam id=10 [slave keyboard (3)]
↳ Logitech Logitech Illuminated Keyboard id=12 [slave keyboard (3)]
↳ Asus Laptop extra buttons id=14 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=15 [slave keyboard (3)]
List props:
[bob@arch ScreenShots]$ xinput --list-props 'Logitech Unifying Device. Wireless PID:101a'
Device 'Logitech Unifying Device. Wireless PID:101a':
Device Enabled (133): 1
Coordinate Transformation Matrix (135): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (259): 2
Device Accel Constant Deceleration (260): 1.000000
Device Accel Adaptive Deceleration (261): 1.000000
Device Accel Velocity Scaling (262): 10.000000
Device Product ID (254): 1133, 50475
Device Node (255): "/dev/input/event6"
Evdev Axis Inversion (263): 0, 0
Evdev Axes Swap (265): 0
Axis Labels (266): "Rel X" (143), "Rel Y" (144), "Rel Horiz Wheel" (281), "Rel Vert Wheel" (258)
Button Labels (267): "Button Left" (136), "Button Middle" (137), "Button Right" (138), "Button Wheel Up" (139), "Button Wheel Down" (140), "Button Horiz Wheel Left" (141), "Button Horiz Wheel Right" (142), "Button Side" (503), "Button Extra" (504), "Button Forward" (505), "Button Back" (506), "Button Task" (507), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257)
Evdev Middle Button Emulation (268): 0
Evdev Middle Button Timeout (269): 50
Evdev Third Button Emulation (270): 0
Evdev Third Button Emulation Timeout (271): 1000
Evdev Third Button Emulation Button (272): 3
Evdev Third Button Emulation Threshold (273): 20
Evdev Wheel Emulation (274): 0
Evdev Wheel Emulation Axes (275): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (276): 10
Evdev Wheel Emulation Timeout (277): 200
Evdev Wheel Emulation Button (278): 4
Evdev Drag Lock Buttons (279): 0
Change setting:
xinput --set-prop 'Logitech Unifying Device. Wireless PID:101a' 'Device Accel Profile' 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment