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

Java stopped working - Zinframe Multitouch Overlay #227

Open
barbaracastro opened this issue Sep 26, 2016 · 4 comments
Open

Java stopped working - Zinframe Multitouch Overlay #227

barbaracastro opened this issue Sep 26, 2016 · 4 comments

Comments

@barbaracastro
Copy link

Hey guys, I'm developping an interactive instalation using SMT library. It's great!
I was testing with my inbuilt touch screen from my Dell Laptop, but for the exhibition we are using a infra-red frame on a TV.

The Zinframe multitouch overlay supports TUIO.
I installed Zinframe Multitouch Overlay drivers and the sketch is working and recognizing multiple touch, but the moment I release the touch, the app stops and shows:
"Java(TM) Platform SE binary has stopped working"
No error message.

I don't have a clue what's going on.
Can anybody help me?

Thanks in advance!

@mshancock
Copy link
Collaborator

Hi @barbaracastro, glad you're enjoying SMT! I've never used Zinframe overlays before, but it's hard to track down the issue without more info. We also don't have an active developer on this project at the moment, but it does sound like your issue might be a driver one (or at least somewhere in the native code that runs the TUIO support), since there's no Java error message.

Can you try getting TUIO working in a different (non-SMT) application? It would also help to know what sketch you're specifically trying to get working. It may help to initialize with:
SMT.init( this, TouchSource.TUIO_DEVICE);
instead of:
SMT.init( this, TouchSource.AUTOMATIC);

@barbaracastro
Copy link
Author

Hi @mshancock,

Thanks for the quick reply!
Changing for automatic initiation didn't work, but it's working on a Mac though.
Unfortunately we don't have the option to work on a mac for the exhibition.
I've tried memory and firewall tutorials for java with no sucess.
I'll keep trying.

If someone else have other option, please let me know.
I'll keep you posted.

Thanks!

@barbaracastro
Copy link
Author

So it's working with SMT.init( this, TouchSource.MOUSE); I think this is probably a similar problem reported iby @amyro here #169

If I use MOUSE, it works but I can't get multitouch and pinch functions to work.

If I use WM_TOUCH the multitouch works and compiles perfectly, but as soon as I release the touch, it JAVA crashes.

Thanks.

@mshancock
Copy link
Collaborator

And what happens when you use TouchSource.TUIO_DEVICE? If the overlay supports TUIO natively, this may be the best option.

The MOUSE version should always work, but this is just mouse emulation of touch support (so using right clicks can "drop" a touch point, and clicking again can remove them).

WM_TOUCH would attempt to use Windows Touch events natively, so maybe this is what's broken. Does pinch work in any other Windows application (e.g., if you're using Win 10, try the Maps app)?

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

No branches or pull requests

2 participants