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 & HelpOther Libraries › ProControll: which mouse's scroll wheel is turned
Page Index Toggle Pages: 1
ProControll: which mouse's scroll wheel is turned? (Read 790 times)
ProControll: which mouse's scroll wheel is turned?
Apr 22nd, 2009, 1:14pm
 
Would you happen to know of any tool for reading movements of scroll wheels separately for each one of the two mice
in a Processing application?

with
 addMouseWheelListener(
   new java.awt.event.MouseWheelListener() {public void mouseWheelMoved(java.awt.event.MouseWheelEvent evt) { mouseWheel(evt.getWheelRotation()); }}
   );
i can read scroll wheel movements, but do not know which wheel was turned

with procontroll I can distinguish which mouse was moved and which mouse buttons were pressed, but do not know how to read the wheel

- jarek

Page Index Toggle Pages: 1