Macally 2-button mouse and Xpmac

Macally 2-button mouse and Xpmac

Post by akap.. » Wed, 28 Jun 2000 04:00:00



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?

I have played with XF86Config, adding Emulate3Buttons and
Emulate3Timeout lines in the pointer section.  I also tried adding
Buttons 2, but nothing has helped.

Has anyone gotten this mouse to work with Xpmac?

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Macally 2-button mouse and Xpmac

Post by Andrew B. Arthu » Thu, 29 Jun 2000 04:00:00



> 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/


 
 
 

1. The infamous MacAlly 2-button ADB mouse

I just got a MacAlly 2 button ADB mouse. The left button works, and
the right one doesn't do squat. I've read all over the place that I'm
supposed to do mousemode 3 66 to make all my problems disappear. But
this command doesn't work: the mouse rejects the handler change. I've
tried it using Apple's ADB Parser utility, too: set register 3 of
device 3 to 0x2342. Then ask it to spew back register 3, and, lo and
behold, it's still using whatever handler it was before. I seemingly
can assign it handlers 1, 2, or 4, but none of these let me use the
right button. Any ideas?
-Nathan

2. Is RedHat 5.0 still maintainable?

3. MacAlly 2-button ADB mouse

4. When is schedi uled i/o known to be complete

5. Can 2-button mouse do 3-button mouse works?

6. can't change passwords on RH 6.1 ??H

7. Using middle button on 2-button mouse

8. Prob with precompiled amaya

9. Can 2-button Mouse work as 3-Buttons??

10. : 2-button vs 3-button mouse

11. Combining 2-button trackball with 3-button mouse

12. Make a 2-button mouse function like 3-button?

13. Emulating 3-button mouse/trackball with a 2-button device?