Comment 10 for bug 54191

Revision history for this message
Paul Stone (launchpad-net-pdjs) wrote :

Yes, evdev is being used:

$ grep evdev /var/log/Xorg.0.log
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"

I managed to work around this problem creating an .fdi file in /etc/hal/fdi/policy to set Emulate3Buttons to false for my mouse (similar to how this is done here: http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html)

However, this workaround shouldn't be necessary. xorg knows that my mouse has 3 buttons (the log states so), therefore it should automatically set Emulate3Buttons to false in this situation.

I don't know anything about HAL or the .fdi files (there appears to be no documentation anywhere). Is it possible to detect 3 mouse buttons and change the Emulate3Buttons setting purely through .fdi files? Or, are changes to code necessary - if so, which code would need to be changed?