Eric,

From:
http://math.hws.edu/eck/cs124/notes/c6/s2.html

"In some cases, you'd also like to know which button on the mouse was
pressed. The method evt.isMetaDown() returns a boolean value that is true if
the right button on the mouse is pressed. Similarly, evt.isAltDown() returns
true if the middle button is down. Now, not every mouse has a middle button
and a right button. A user can simulate pressing the middle mouse button by
holding down the ALT key (on a Macintosh, the Option key) while using the
mouse. This will work even on a computer that does have a middle mouse
button. Similarly, holding down the Meta key (the Command key on a
Macintosh; no equivalent under Windows) simulates pressing the right mouse
button. You can also tell whether the user is holding down the shift key or
the control key by calling evt.isShiftDown() and evt.isControlDown()."

===
So, I guess, "no equivalent under Windows" is the answer. Meta was provided
for the Mac, which only has a single mouse button. The equivalent
*functionality* for Windows is a right mouse button click.

Good interview question judging by the responses! ;-)

The link above has a little applet where you can verify this for your
system.

Best,

Daniel Selman

[EMAIL PROTECTED]
http://www.tornadolabs.com


-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Eric Reiss
Sent: 10 January 2000 13:07
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Which key is the Meta key for mouse behaviors


The Alt key is the Alt key, not the Meta key.  There are two modifier keys
when using mouse behaviors.

You pick the left mouse button to do one thing (usually rotate), you click
the middle mouse button or click the left mouse button while holding the
Alt key to do another (usually zoom), and finally you click the right mouse
button or click the left mouse button while holding the META key to do a
third operation (usually translate).

So the question is still, "In Windows NT OS, with a 101 keyboard, what is
the META key?"




At 11:42 AM 01/10/2000 -0500, you wrote:
>The ALT key.
>John
>
>-----Original Message-----
>From: Eric Reiss [mailto:[EMAIL PROTECTED]]
>Sent: January 9, 2000 1:25 AM
>To: [EMAIL PROTECTED]
>Subject: [JAVA3D] Which key is the Meta key for mouse behaviors
>
>
>I have recently compiled my own versions of the mouse and mouse picking
>behaviors but I haven't been able to figure out which key is the Meta key
>on the keyboard.
>
>I am running in Windows NT with a basic 101 keyboard.
>
>I searched the mail archive and found nothing.
>
>Thanks in advance for any help.
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JAVA3D-INTEREST".  For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".

***********************************************************************
Eric Reiss - http://www.sigda.acm.org/Eric/
Email: [EMAIL PROTECTED]

SIGDA Internet Server Manager - http://www.sigda.acm.org/

Assistant Systems Manager - School of Engineering
University of Pittsburgh
***********************************************************************

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to