Home › Forums › Software Development › Possibility to launch EyeX settings via the SDK? › Reply To: Possibility to launch EyeX settings via the SDK?
24/02/2015 at 09:50 #2592

Participant
Hello Markus,
There is no way to launch the settings panel, but there are API calls (C#) you can make to access the different areas of the settings panel, such as starting a recalibration, display setup, creating a user profile or switching to a guest profile.
Below is a code snippet taken from the MinimalConfigurationTool
sample that demonstrate how to use this functionality.
//-----------------------------------------------------------------------
// Copyright 2014 Tobii Technology AB. All rights reserved.
//-----------------------------------------------------------------------
namespace MinimalConfigurationTool
{
using System;
using EyeXFramework;
public class Program
{
public static void Main(string[] args)
{
using (var eyeXHost = new EyeXHost())
{
eyeXHost.Start();
Console.WriteLine("EYEX CONFIGURATION TOOLS");
Console.WriteLine("========================");
Console.WriteLine();
Console.WriteLine("T) Test calibration");
Console.WriteLine("G) Guest calibration");
Console.WriteLine("R) Recalibrate");
Console.WriteLine("D) Display Setup");
Console.WriteLine("P) Create Profile");
var key = Console.ReadKey(true).Key;
switch (key)
{
case ConsoleKey.T:
eyeXHost.LaunchCalibrationTesting();
break;
case ConsoleKey.G:
eyeXHost.LaunchGuestCalibration();
break;
case ConsoleKey.R:
eyeXHost.LaunchRecalibration();
break;
case ConsoleKey.D:
eyeXHost.LaunchDisplaySetup();
break;
case ConsoleKey.P:
eyeXHost.LaunchProfileCreation();
break;
}
}
}
}
}
/ Patrik