Getting Touch Events from Android with fisica library
in
Android Processing
•
4 months ago
I have a sketch using the fisica library with "grabbable" objects that functions as expected in Java. It also runs on Android, but nothing is grabbable there.
I put this bit of code in just to test that touch events were registered at all:
- void mousePressed(){
- println(""+mouseX);
- }
My guess is that the touch event is mapped to a different method by Processing from Android, versus mouse click events from Java. So somehow I would need to bridge the gap to fisica's methods.
I have no clue where to begin. Any ideas?
1