Skip to content
This repository was archived by the owner on Jun 12, 2025. It is now read-only.

Conversation

@tkirshboim
Copy link
Contributor

Hi there,

I've added multi touch support to the app.
This was achieved by adding a new button to the main screen which leads to a dedicated multi touch fragment.
At the moment I've limited the maximal amount of simultaneous pointers to 8, however this limit could be increased if needed.
The OSC routing is in the format of /touch1/ for the first finger, /touch2/ for the second finger etc..
Please also have a look at the pd vanilla patch that I've updated to demonstrate this (see its bottom part with the touch messages routing).

The x/y values of each touch message range between 0 and 1 and a "touch up" message is represented by the value -1.

sensors_with_touch

screen shot 2016-03-13 at 6 50 37 pm

I had to make some minor non-breaking changes to the Measurement class in the Common project to make this work - if possible please merge the pull request for this feature in the common module first so that I can change the dependency to rely on the SensorApps version instead of my fork.

If there's any questions or comments about this - please let me know.

Cheers!
Tal

@tkirshboim
Copy link
Contributor Author

@residuum @deusanyjunior now that the pull request on the Common project was merged, I changed my branch to depend again on the Common repository.

@residuum residuum merged commit 2b8a368 into SensorApps:master Mar 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants