> I bought a 2-button Macally mouse (model 12BMAC-MM01) to use with a
> Wallstreet PowerBook.
> The mouse works great under gpm on the console. Both buttons work, and
> pressing them together emulates the middle button.
> When I use Xpmac, both buttons work but pressing them together does not
> do anything. I would like to set it up so that pressing them together
> emulates the middle button. How can I do this?
Xpmac is too old, and too hackie to support this feature. You will need
to upgrade to a real XServer for the PowerMac that was made after 1997
to use this feature. :) I use Xpmac too, and it's fast, but it doesn't
support any of those "advanced" features -- like mouse chording, certain
types of threading, resolution switching on the fly, sleep, native
truetype fonts, etc.
Quote:> I have played with XF86Config, adding Emulate3Buttons and
> Emulate3Timeout lines in the pointer section. I also tried adding
> Buttons 2, but nothing has helped.
First off, Xpmac is an ancient X server, that has been hacked and hacked
again (many
times) to add new features and acceleration. It doesn't support any of
the XFree86 3.3.x features, since it is quite a bit older then that (it
dates back to MkLinux DR 3 -- it uses a special kernel hack to work with
PPC Linux). So it doesn't even know what a XF86Config is or read it. So
you can edit XF86Config to as much as you like, but Xpmac will
completely ignore it. Xpmac lacks any configuration files of it's own,
it relies on command line arguments to tell it what to do (which can be
put in any of the xinit files -- like .Xserver, startx,
/etc/kdm/Xservers.
And yes, XF68_FBDev sucks really badly in XFree86 3.3.x. Nobody is going
to debate -- especially because atyfb is quirky on many
PowerMacs/Powerbooks.
When XFree86 4.0 becomes more stable on the PowerMac, I highly recommend
you take a look at. It uses a totally new driver, and a quite different
setup (there is a master X server for all, with plug-ins for certain
drivers, such as atimach64.o). RIght now it's too unstable to be
worthwhile, but once it gets better, it will support accelerated video
with atyfb and offb. I think in a few months, we can (hopefully) declare
Xpmac history, to be relegated to the same place as glibc 1.99/libc 5.
Quote:> Has anyone gotten this mouse to work with Xpmac?
I have that mouse (and the Orbit Trackball -- same story), and it works
okay with Xpmac, although as you have said, chording just isn't possible
with Xpmac. You can still use a keyboard button for the middle mouse
button (I use F12 -- the default is option 2), use the mouse for right
and left clicking.
--
Andrew B. Arthur | http://www.imaclinux.net/