#147 Middle buttons & Kensington Mice

X server (105)


I just upgraded to the latest Kensington mouse driver
(they use one for all their products, but for reference
my model is called "MouseWorks" and is USB and pretty
modern). This is version 1.1.

They just added support for "Middle Click", primarily
for Maya under OS X I believe.

So I tested with xev, which is great for debugging mice,
I find.

Physical Button xev result
Click (1) Button 1
Middle Click (2) (nothing printed at all)
Right Click (3) Button 3
Scroll wheel up Button 4
Scroll wheel down Button 5

As you can see, its almost perfect :) Lots better than I
ever managed under Linux.

But I'd like it if I could have a "true" middle button
(ie, generate Button 2) so I can turn off emulation

Please contact me if you need help with anything and
don't have any Kensington hardware to hand...

(I know I can use emulation to work around, thanks...)


  • Greg Parker

    Greg Parker - 2001-12-22

    Logged In: YES

    I have a Kensington mouse that works fine (all buttons) in XDarwin when the Kensington drivers are *not* installed. I'll install the new drivers and see what happens. You might try turning off your driver and see if button-2 works in XDarwin.

  • Don MacQueen

    Don MacQueen - 2001-12-24

    Logged In: YES

    I just like to mention that in addition to needing three
    buttons for the usual X Windows reason, I mouse with
    my left hand and therefore want very much to be able to
    switch the left and right buttons (a little feature Apple
    neglected). So I need the Kensington drivers.

  • Greg Parker

    Greg Parker - 2002-01-08

    Logged In: YES

    This looks like a Kensington bug. I just tried it with a test app, and Kensington's "Middle Click" generates *no* events for a Cocoa app. XDarwin's event interface is Cocoa, so it can't see that mouse button at all. There's nothing we can do about this until Kensington changes their driver (except one really nasty and possibly unstable hack, and we're not going to do that).

    I'm filing a bug report with Kensington now.

    Workarounds: use XDarwin's mouse button emulation or disable the Kensington driver.

  • Greg Parker

    Greg Parker - 2002-02-06

    Logged In: YES

    New workaround: use USB Overdrive for Mac OS X, beta 2 or later. It has support for middle click (as well as fourth and fifth click, if you have lots of buttons) and works great on XDarwin. http://www.usboverdrive.com/

    I haven't heard back from Kensington about their driver.

  • Kow K

    Kow K - 2002-08-30

    Logged In: YES

    The problem seems more complicated. I used Macally 3-button mouse with USB Overdrive X on PowerBook G3 with Macally CardBus USB adaptor until a few days ago. The mouse worked fine in this configuration. But the USB adaptor got broken accidentally and I switched to Adaptec USB2Connect for Notebooks (AUA-1420, USB 2.0 CardBus). Since then, the middle-button stopped working with USB Overdrive. I guess something is wrong with the USB interface.



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks