We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Right Clicking (Read 525 times)
Right Clicking
Feb 18th, 2010, 6:12pm
 
Ive seen some programs that do it.
How do you differentiate them?
Re: Right Clicking
Reply #1 - Feb 18th, 2010, 7:07pm
 
void mouseClicked(){
if( mouseButton == LEFT ){
//...
} else if( mouseButton == RIGHT ){
// ...
}
}
Grin
Re: Right Clicking
Reply #2 - Feb 18th, 2010, 7:24pm
 
Oh wow..
Thank you very much  Cheesy
Page Index Toggle Pages: 1