Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multitouch #8

Open
shi-weili opened this issue Mar 16, 2023 · 2 comments
Open

Support multitouch #8

shi-weili opened this issue Mar 16, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@shi-weili
Copy link
Contributor

Currently, ga::TouchEvent doesn't track touch ID, which is needed to track individual touches.

Also, consider adding a toggle to turn on/off multitouch support. Not sure if that should be in GA::Kit, ofxGAkit, or an example app, though.

@shi-weili shi-weili added the enhancement New feature or request label Mar 16, 2023
@tyhenry
Copy link
Collaborator

tyhenry commented Mar 23, 2023

Good call -
I think multitouch id tracking for now would just mean adding an id field to ga::TouchEvent (it's actually in a comment as a reminder - just need to uncomment it!)

int id;

@tyhenry
Copy link
Collaborator

tyhenry commented Mar 23, 2023

Then we can extend the ga::TouchZone component and probably ga::Scene to toggle multitouch support at local component and global levels. We'll just need some logic to store / compare touch ids.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants