> xinput
Will output:
Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=9 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver Consumer Control id=10 [slave pointer (2)]
⎜ ↳ Logitech USB Laser Mouse id=15 [slave pointer (2)]
Remember those id's or use "Logitech USB Receiver" and "Logitech USB Laser Mouse" device names in the following commands.
> xinput list-props 'Logitech USB Laser Mouse'
Device 'Logitech USB Laser Mouse':
Device Enabled (155): 1
Coordinate Transformation Matrix (157): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (289): 0
libinput Natural Scrolling Enabled Default (290): 0
libinput Scroll Methods Available (291): 0, 0, 1
libinput Scroll Method Enabled (292): 0, 0, 0
libinput Scroll Method Enabled Default (293): 0, 0, 0
libinput Button Scrolling Button (294): 2
libinput Button Scrolling Button Default (295): 2
libinput Middle Emulation Enabled (296): 0
libinput Middle Emulation Enabled Default (297): 0
libinput Accel Speed (298): 1.000000
libinput Accel Speed Default (299): 0.000000
libinput Accel Profiles Available (300): 1, 1
libinput Accel Profile Enabled (301): 1, 0
libinput Accel Profile Enabled Default (302): 1, 0
libinput Left Handed Enabled (303): 0
libinput Left Handed Enabled Default (304): 0
libinput Send Events Modes Available (274): 1, 0
libinput Send Events Mode Enabled (275): 0, 0
libinput Send Events Mode Enabled Default (276): 0, 0
Device Node (277): "/dev/input/event11"
Device Product ID (278): 1133, 49257
libinput Drag Lock Buttons (305):
libinput Horizontal Scroll Enabled (306): 1
We need to set 'libinput Accel Speed' property to 1.0 value for maximum speed.
> xinput set-prop 'Logitech USB Laser Mouse' 'libinput Accel Speed' 1.0
Make a bash script and add it to "Session and Startup":
#!/bin/bash
#xinput set-prop 15 298 1.0
#xinput set-prop 9 298 1.0
xinput set-prop 'Logitech USB Laser Mouse' 'libinput Accel Speed' 1.0
xinput set-prop 'Logitech USB Receiver' 'libinput Accel Speed' 1.0
No comments:
Post a Comment