[comp.sys.amiga.tech] Reading *Middle* Mouse Button

GRGREF@BYUVM.BITNET (08/24/90)

I'm interested in putting middle mouse-button support into one of my programs,
but Intuition doesn't seem to support it.  I know how to do it by reading
the joystick port, but that doesn't seem very elegant, and it could be very
incompatible with other programs and post-1.3 operating systems.

Does 2.0 support the middle mouse button?  If so, how?  Does it activate
windows?  Does it activate gadgets?  Does it require any special flags in the
Window structure (like RMBTRAP)?  Anything in IDCMP flags?

Also, how could I use the middle mouse button in a program which must be
compatible with both 1.3 and 2.0+?  Should I write a special driver that the
program automatically installs which would feed the input chain with middle
button clicks, and if so, how?

Questions, questions, questions.  Anyway, thanks in advance...

                               Bryan