mouseDragged() - Android Bug?
              in 
             Android Processing 
              •  
              10 months ago    
            
 
           
             Quick code to test mouse handling:
            
             
            
             
            
            
             
            
            
             
             
           
 
            
           - void draw()
 - {
 - }
 - void mousePressed ()
 - {
 - println("PRESSED x:" + mouseX + " y: " + mouseY);
 - }
 - void mouseReleased ()
 - {
 - println("RELEASED x:" + mouseX + " y: " + mouseY);
 - }
 - void mouseDragged ()
 - {
 - println("DRAGGED x:" + mouseX + " y: " + mouseY);
 - }
 
              In Java Mode it works fine (using a mouse), but in Android Mode (touching screen), mouseDragged() continually updates and prints to the console if finger is held in same position... i.e not dragged anywhere. Is this a bug ... if so I will report it but if anyone can confirm first?... 
             
            
             mousePressed() and mouseReleased() seem to be OK though.
            
            
             Mark
            
             
              
              1  
            
 
            