public TuioServer(ITuioInputProvider tuioInputProvider) { _tuioInputProvider = tuioInputProvider; _tuioInputProvider.OnTuioInput += Send; _tuioTransmitter = new TUIOTransmitter(defaultIPAddress, defaultPort); _tuioTransmitter.Connect(); }
override protected void Initialise() { UpdateScreenDimensions(); serverInfo = string.Format("åé: {0}:{1}\næ¥æ¶: {2}", Settings.ipAddress, Settings.port, Settings.listenPort); tuioTransmitter = new TUIOTransmitter(Settings.ipAddress, Settings.port); tuioTransmitter.Connect(); if (Settings.listen) { tuioInput.TuioPort = Settings.listenPort; tuioInput.enabled = true; } }
override protected void Initialise() { UpdateScreenDimensions(); serverInfo = string.Format("Sending: {0}:{1}\nReceiving: {2}", Settings.ipAddress, Settings.port, Settings.listenPort); if (Settings.useMouseOnly) { standardInput.Windows8Touch = StandardInput.Windows8TouchAPIType.None; standardInput.Windows7Touch = StandardInput.Windows7TouchAPIType.None; standardInput.WebPlayerTouch = false; standardInput.WebGLTouch = false; } tuioTransmitter = new TUIOTransmitter(Settings.ipAddress, Settings.port); tuioTransmitter.Connect(); if (Settings.listen) { tuioInput.TuioPort = Settings.listenPort; tuioInput.enabled = true; } }