Sadly I am forced to use a pretty bad mouse since a few days...one that very often registers left clicks as double-clicks. After searching the web a bit I ran into this: http://blog.guntram.de/?p=16
The patches offered there needed some slight adjustment (due to xf86-input-evdev gaining soft scrolling support). But other than move one hunk by three line I didn't really do anything. It seems to work pretty well for me (using it since a few days now)..so thought I might post it here with the updated patches in case others have a use for it too.
Updated patch for x11-drivers/xf86-input-evdev-2.10.5: https://pastebin.com/LPk5Cc4F
Patch is almost 3000 lines and I am for sure not very versed in x11 programming...at a short glance nothing "irregular" jumps at the eye...but yeah...better check yourself, I wouldn't trust me on that. ;)
After putting the patch in /etc/portage/patches/x11-drivers/xf86-input-evdev (might want /etc/portage/patches/x11-drivers/xf86-input-evdev-2.10.5 instead though to have it only applied to this version and not future ones) and rebuilding x11-drivers/xf86-input-evdev it was just following the blog linked above for the config. I have a /etc/X11/xorg.conf.d/05-mouse.conf (not in /usr/share as the blog says) file with this now:
Code: Select all
Section "InputClass"
Identifier "evdev pointer debounce"
MatchIsPointer "on"
MatchDriver "evdev"
Option "DebounceDelay" "20"
EndSection

