Skip to content

Conversation

@rubo77
Copy link
Contributor

@rubo77 rubo77 commented Oct 6, 2025

this implements simultaneous multi-finger painting (multitouch support)

rubo77 and others added 5 commits October 6, 2025 10:27
SDL Touch Handler Extended (SDLSurface.java)
- Forwards ALL finger data to native code

JNI Bridge (android_multitouch.c)
- Receives all touch coordinates from Java
- Stores position for each finger

Multitouch Painting Logic (tuxpaint.c)
- Draws for EVERY finger simultaneously
- Independent brush strokes per finger
WIP: consecutive multi strokes are still dotted
Add timestamp tracking to finger_end_pos[] to detect when a finger
was lifted for more than 150ms. This prevents unwanted lines between
separate strokes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant