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.
IndexProgramming Questions & HelpSyntax Questions › Trigger keypressed event
Page Index Toggle Pages: 1
Trigger keypressed event (Read 550 times)
Trigger keypressed event
Dec 18th, 2007, 7:03am
 
Hey,

I'm looking for a way to simulate a keypress event in Processing. Sort of a reverse of what exists in processing with the keyPressed() function.

Is this possible, or should I look for integration with another piece of software?

Thanks,
Eric
Re: Trigger keypressed event
Reply #1 - Dec 18th, 2007, 7:28am
 
you can try java's robot class, java.awt.Robot, . of interest for you, the keyPress and keyRelease methods in the summary. if you make a forum search, you might stumble upon other posts regarding this topic.
best,
andi
Page Index Toggle Pages: 1