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 & HelpIntegration › mouse mvnts not recognized
Page Index Toggle Pages: 1
mouse mvnts not recognized (Read 762 times)
mouse mvnts not recognized
May 2nd, 2009, 1:03pm
 
I am just getting started using Processing under Linux (Ubuntu v9.4)
and am working my way through the 'Getting started: Welcome to Processing' tutorial.
The Hello mouse sketch does NOT respond to mouse movements.
I'm guessing that the problem stems from the mouse's /dev file not being correctly associated with the Processing environment.
Can anyone suggest what I need to do to get things working?
Thank you in advance.
Re: mouse mvnts not recognized
Reply #1 - May 9th, 2009, 7:26pm
 
I've noticed this same issue with Jaunty ... the input and rendering was fine in Ubuntu Intrepid 8.10 and is now slow after the upgrade.  This issue is with P2D rendering,  P3D and OPENGL work fine.

Examples such as Basics->Images->Sprites and Topics->GUI->Handles are very sluggish while 3D->Typography->LetterK and Libraries->OpenGL->YellowTail are snappy (as they should be).

I tried the following howto, but it didn't help:
HowTo: extremely speed up slow Java apps by enabling them to use OpenGL http://ubuntuforums.org/showthread.php?t=1129187

And here's a note from the Ubuntu Bug tracker:
https://bugs.launchpad.net/ubuntu/+bug/322561/comments/7

I tried the above in the launch script, but it only manages to make the gui appear more quickly then usual (which is nice actually).

I also tried using the sun-java6-jdk package and linking the java folder in the processing folder to use the system jdk.  Processing worked, but the same issue remained.

This seems to be an Ubuntu 9.04 issue with Java in general and will hopefully be fixed soon.
Page Index Toggle Pages: 1