The one thing I missed from my Windows days was the ability to assign one of the mouse buttons to perform a left button double-click. It's pretty much a universal feature on Windows mouse drivers these days (with buttons being in ample supply on many mice), and I like it because I find the action of double-clicking irritating ;-).Also, my mother has arthritis, and finds double-clicking to be very awkward. She finds having a single button to do the double-clicking makes things much more comfortable.
I tried to find the feature on Linux, and couldn't. I searched XFree86, qt, and kde, and it didn't seem to be there. Then I decided to implement it myself. Not being sure where to implement it, I finally decided to do it in XFree86 because then it can be useful to all of the window managers etc.
I've made (pretty trivial) changes in xc/programs/Xserver/hw/xfree86/os-support/xf86OSmouse.h and xc/programs/Xserver/hw/xfree86/input/mouse/mouse.c. The result is a new option (DoubleClickButtons) where I can specify the source and target buttons, ie. pressing the source button will result in a double-click on the target button (the source button is no longer available for any other function). The double-click is just implemented by posting press-release-press-release with no delays in between. A nice side-effect is that I can decrease the double-click delay in KDE, which makes certain operations snappier.
So my question is: is anyone else interested in this? I'm more than happy to make it public, but I don't know diff and I'll have to look into where these things are documented and I won't bother if no-one will use it :-)
Oh, and if the feature already exists and I just failed to find it, please let me know. If nothing else, it may at least show me where my search technique is deficient!
Cheers, Rob Brown. _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
