We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No description provided.
The text was updated successfully, but these errors were encountered:
Yeah, the server.js code is deprecated. I try this:
// Create the tuio server and express app var express = require("express"); tuioServer = require("tuio"); var _socketPort = express().listen(5000, function () { // Init TUIO client tuioClient = new Tuio.Client({ host: "http://localhost:" + TUIO_SERVER_PORT }); // Attach events tuioClient.on("connect" , onTuioConnect); tuioClient.on("addTuioCursor" , onAddTuioCursor); tuioClient.on("updateTuioCursor" , onUpdateTuioCursor); tuioClient.on("removeTuioCursor" , onRemoveTuioCursor); tuioClient.on("addTuioObject" , onAddTuioObject); tuioClient.on("updateTuioObject" , onUpdateTuioObject); tuioClient.on("removeTuioObject" , onRemoveTuioObject); tuioClient.on("refresh" , onRefresh); tuioClient.connect(); }); // Init the TUIO server tuioServer.init({ oscPort: 3334, oscHost: "0.0.0.0", socketPort: _socketPort });
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: