Skip to content

Instantly share code, notes, and snippets.

@febret
Created August 14, 2014 20:01
Show Gist options
  • Save febret/4abeff06fb77337e4619 to your computer and use it in GitHub Desktop.
Save febret/4abeff06fb77337e4619 to your computer and use it in GitHub Desktop.
lyra oinputserver cfg
config:
{
serverPort = "28000";
// VRPN Controller device for CalVR
vrpnTrackerName = "Navigation";
vrpnTrackerPort = 3894;
checkForDisconnectedClients = false;
showEventStream = false;
services:
{
XInputService:
{
updateInterval = 0.05;
checkControllerInterval = 2.0;
debug = false;
};
WandService:
{
controllerService = "XInputService";
controllerSourceId = 0;
raySourceId = 1;
debug = false;
pointer:
{
type = "cylindrical";
radius = 3.238;
doorWidth = 36;
xBias = 0.02778;
minY = 0.305;
maxY = 2.625;
};
};
WandService1:
{
class = "WandService";
controllerService = "XInputService";
controllerSourceId = 1;
raySourceId = 2;
debug = false;
};
VRPNService:
{
updateInterval = 0.01;
serverIP = "cave2tracker.evl.uic.edu"; // This is the IP of all trackable objects below, unless marked otherwise
trackedObjects:
{
Head_Tracker:
{
name = "Head_Tracker";
trackableID = 0;
};
WandBatman:
{
name = "Wand_Batman";
trackableID = 1;
};
WandRobin:
{
name = "Wand_Robin";
trackableID = 2;
};
remotecontrol1:
{
name = "remotecontrol1";
trackableID = 2014;
};
Xbox:
{
name = "Xbox360";
trackableID = 3;
};
OtherHead:
{
name = "pupiltest";
trackableID = 11;
};
};
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment