/* Ex-1 configuration file */

QTMouse
{
	name="lokaalihiiri"
	dumpFile=mousedata.dump
	sampleRate=50
	grab = false
}

QTKeyboard
{
	name="localkeyboard"
	sampleRate=50
	grab = false
	threaded = true
}

QTKeyboard
{
	name="localkeyboard2"
	sampleRate=50
	grab = false
	threaded = false
}


FileMouse 
{
	name="tiedostohiiri"
	filename=mousedata.dump
}

FileTracker
{
	name="tiedostotrakkeri"
	filename=trackerdata.dump
	sensor0=paa
}

FileGlove
{
	name="tiedostohanska"
	filename=glovedata.dump
}

5DTGlove
{
	name = "hanska"
	dumpFile = "glovedata.dump"
	/*	device = /dev/fglove1*/
	device = /dev/fglove1
}

RemoteGlove
{
	name = remoteglove
	bufferSize=50
	server=a2:2200
	launcher = "ssh a2 '/bin/zsh ~/bin/fluid-glove0.sh'"
}


RemoteMouse
{
	name   = hiiri
	server = hermit:2197
/*	launcher = "cd $FLUID_ROOT/src/plugins/qtmouse/; ./$FLUID_PLATFORM/smain fluid-config"*/
	launcher = "ssh hermit '/p/bin/zsh bin/fluid-mouse.sh'"
}

RemoteMouse
{
	name   = wand
	server =a2:2220
/*	launcher = "cd $FLUID_ROOT/src/plugins/qtmouse/; ./$FLUID_PLATFORM/smain fluid-config"*/
	launcher = "ssh a2 '/bin/zsh bin/fluid-wand.sh'"
}

RemoteSpeech
{
	name   = speech
	server = 2201
}

MoStarTracker
{
        name=trakkeri
        bufferSize=50
        server=130.233.45.15

	/* The transformation is applied in order: 
	   1) scale
	   2) translation
           3) rotation 
         */

	/* This transfers from MoStar to FLUID left handed
           system. (In EVE x right, y up, z forward) */
	rotation = 0 1 0 0 0 -1 1 0 0

	/* This transfers from inches to meters */
	scale = 0.0254 0.0254 0.0254

	/* We do not need translation */
	translation = 0 0 0

	sensor4 = kasi
	sensor5 = paa
}

