How you should use evdev for your Mouse
18. July 2008If you are using a mouse with more than three buttons and a wheel on a Linux system, you probably heard about using evdev instead of the default mouse driver. Unfortunately, many of those tutorials on the net contain mistakes due to old parameters or manly by simply mixing up evdev and mouse options. However, it is quite easy to set it up.
If you want to use evdev just add (keep your Configured Mouse block) these lines to your xorg.conf
| Section "InputDevice" Identifier "MX518" Driver "evdev" Option "Device" "/dev/input/by-id/usb-Logitech_USB-PS.2_Optical_Mouse-event-mouse" EndSection |
And this line into ServerLayout:
| InputDevice "MX518" "SendCoreEvents" |
Just make sure you replace the device with the path to your mouse.
Otherwise you can run
find /dev/input/by-id/ -name "*event-mouse"
to get the right device. That’s it! Your done.