private void Start() { _chairController = new FutuRiftController(portNumber); UpdateChairRotation(); _chairController.Start(); }
void Start() { controller = new FutuRiftController(portNumber) { Pitch = pitch, Roll = roll }; controller.Start(); }
void Start() { controller = new FutuRiftController(new ComPortOptions { ComPort = 6 }) { Pitch = pitch, Roll = roll }; controller.Start(); }
void Start() { var comPort = EmulatorOptionsReader.ReadEmulatorOprions().comPort; portShower.SetPortShowing(comPort); int comPortNum = 1; if (comPort.StartsWith("COM")) { comPortNum = int.Parse(comPort.Substring(3)); } controller = new FutuRiftController(new ComPortOptions { ComPort = comPortNum }, new FutuRiftOptions { interval = 50 }); controller.Start(); }
void OnEnable() { futuRiftController = new FutuRiftController(udpOptions); futuRiftController.Start(); }