Commit 626039ad authored by Admin's avatar Admin

Added loop start and separate handler bindings.

parent 45243815
...@@ -14,4 +14,7 @@ if __name__ == '__main__': ...@@ -14,4 +14,7 @@ if __name__ == '__main__':
tuio_address = 'localhost', 3333 tuio_address = 'localhost', 3333
server = OSCServer(tuio_address) server = OSCServer(tuio_address)
server.addDefaultHandlers() server.addDefaultHandlers()
server.addMsgHandler('/tuio', tuio_handler) server.addMsgHandler('/tuio/2Dobj', tuio_handler)
server.addMsgHandler('/tuio/2Dcur', tuio_handler)
server.addMsgHandler('/tuio/2Dblb', tuio_handler)
server.serve_forever()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment