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 & HelpPrograms › Automatic operation of mouse
Page Index Toggle Pages: 1
Automatic operation of mouse (Read 248 times)
Automatic operation of mouse
Feb 8th, 2009, 4:43pm
 
Nice to meet you. I am worried.
I am not good at English. I'm sorry for not understanding easily.

I want to move the mouse by the automatic operation on Web browser with Arduino and an accelerometer.

1.Web browser is started.
2.The scroll bar of browser of changing Y axis of the accelerometer moves.

3.The mouse cursor of changing X axis of the accelerometer moves sideways.
Example:
-1.The value of X axis of the accelerometer changes from 10 into 30
-2.The mouse moves X axially by 20.

4.Emulation double-clicks it at the position with the mouse cursor.

I understand it has to use the robot class.
However, I am embarrassed because I understand neither automatic operation of the mouse wheel nor how to move the mouse cursor.
Please help!
Page Index Toggle Pages: 1