Home › Forums › Software Development › Setting up 4C trouble › Reply To: Setting up 4C trouble
19/11/2017 at 12:44 #7608
Grant [Tobii]
Keymaster
Hi @milesb, @smatt989, indeed the code on the getting started page needs to be updated, apologies for the inconvenience.
With reference to running a basic console application, the following updated code should work.
using Tobii.Interaction;
// ...
static void Main(string[] args)
{
var host = new Host();
var gazePointDataStream = host.Streams.CreateGazePointDataStream();
gazePointDataStream.GazePoint((x, y, time) => Console.WriteLine("X:{0} Y:{1}", x, y));
Console.ReadKey();
}
// ...
Please let us know how you get on with this sample.