Smooth scrolling is absurdly fast on libinput
Created by: hellmrf
Information
- Solaar version: 1.0.5
- Distribution: Ubuntu 20.04
- Kernel version:
Linux 5.8.0-45-generic x86_64 GNU/Linux
- Output of
solaar show
:
```
Wired Devices
1: M720 Triathlon Multi-Device Mouse
Device path : /dev/hidraw4
USB id : 046d:B015
Codename : M720 Triathlon
Kind : mouse
Protocol : HID++ 4.5
Serial number: ?
Model ID: B015405E0000
Unit ID: C14EDE53
Bootloader: BOT 34.01.B0005
Firmware: MPM 04.10.B0013
Other:
Supports 31 HID++ 2.0 features:
0: ROOT {0000}
1: FEATURE SET {0001}
2: DEVICE FW VERSION {0003}
Firmware: Bootloader BOT 34.01.B0005 000000A96719
Firmware: Firmware MPM 04.10.B0013 B01500A96719
Firmware: Other
Unit ID: C14EDE53 Model ID: B015405E0000 Transport IDs: {'btleid': 'B015', 'wpid': '405E'}
3: DEVICE NAME {0005}
Name: M720 Triathlon Multi-Device Mouse
Kind: mouse
4: WIRELESS DEVICE STATUS {1D4B}
5: RESET {0020}
6: CRYPTO ID {0021}
7: DEVICE FRIENDLY NAME {0007}
8: BATTERY STATUS {1000}
Battery: 90%, discharging, next level 50%.
9: CHANGE HOST {1814}
Change Host: 2:helitonmrf
10: HOSTS INFO {1815}
Host 0 (paired):
Host 1 (paired): helitonmrf
Host 2 (paired): DESKTOP-610I2UD
11: REPROG CONTROLS V4 {1B04}
Key/Button Actions: {'80': 80, '81': 81, '82': 82, '83': 83, '86': 86, '91': 91, '93': 93, '208': 208}
Key/Button Diversion: {'82': 0, '83': 0, '86': 0, '91': 0, '93': 0, '208': 0, '215': 0}
12: PERSISTENT REMAPPABLE ACTION {1C00}
13: POINTER SPEED {2205}
Pointer Speed: 1.0
Sensitivity (Pointer Speed): 256
14: VERTICAL SCROLLING {2100}
Roller type: 3G
Ratchet per turn: 24
Scroll lines: 0
15: DFUCONTROL UNSIGNED {00C1}
16: DFUCONTROL SIGNED {00C2}
17: unknown:1803 {1803} internal, hidden
18: unknown:1813 {1813} internal, hidden
19: unknown:1830 {1830} internal, hidden
20: unknown:18A1 {18A1} internal, hidden
21: unknown:1DF3 {1DF3} internal, hidden
22: unknown:1E00 {1E00} hidden
23: unknown:1EB0 {1EB0} internal, hidden
24: unknown:1861 {1861} internal, hidden
25: unknown:18B1 {18B1} internal, hidden
26: unknown:1850 {1850} internal, hidden
27: unknown:1E22 {1E22}
28: unknown:1F03 {1F03} internal, hidden
29: unknown:18C0 {18C0} internal, hidden
30: HIRES WHEEL {2121}
Multiplier: 8
Has invert: Normal wheel motion
Has ratchet switch: Normal wheel mode
Low resolution mode
HID notification
Scroll Wheel Direction: False
Scroll Wheel Resolution: False
Has 9 reprogrammable keys:
0: Left Button , default: Left Click => Left Click
mse, reprogrammable, pos:0, group:1, group mask:g1
reporting: default
1: Right Button , default: Right Click => Right Click
mse, reprogrammable, pos:0, group:1, group mask:g1
reporting: default
2: Middle Button , default: Mouse Middle Button => Mouse Middle Button
mse, reprogrammable, divertable, persistently divertable, raw XY, pos:0, group:2, group mask:g1,g2
reporting: default
3: Back Button , default: Mouse Back Button => Mouse Back Button
mse, reprogrammable, divertable, persistently divertable, raw XY, pos:0, group:2, group mask:g1,g2
reporting: default
4: Forward Button , default: Mouse Forward Button => Mouse Forward Button
mse, reprogrammable, divertable, persistently divertable, raw XY, pos:0, group:2, group mask:g1,g2
reporting: default
5: Left Tilt , default: Mouse Scroll Left Button => Mouse Scroll Left Button
mse, reprogrammable, divertable, persistently divertable, raw XY, pos:0, group:2, group mask:g1,g2
reporting: default
6: Right Tilt , default: Mouse Scroll Right Button => Mouse Scroll Right Button
mse, reprogrammable, divertable, persistently divertable, raw XY, pos:0, group:2, group mask:g1,g2
reporting: default
7: MultiPlatform Gesture Button, default: Multiplatform Gesture Button => Multiplatform Gesture Button
mse, reprogrammable, divertable, persistently divertable, raw XY, pos:0, group:2, group mask:g1,g2
reporting: default
8: Virtual Gesture Button , default: Virtual Gesture Button => Virtual Gesture Button
divertable, virtual, raw XY, force raw XY, pos:0, group:3, group mask:empty
reporting: default
Battery: 90%, discharging, next level 50%.
```
Describe the bug
The scroll speed is absurdly fast when Scroll Wheel Resolution is enabled. I found solutions for mice that use evdev
as the driver, but M720 uses libinput
so I can't just use xinput
to reset Evdev Scrolling Distance
.
To Reproduce
Steps to reproduce the behavior:
With a mouse that uses libinput
(M720, for example), activate Scroll Wheel Resolution.
Additional context Add any other context about the problem here.