<toolconfig>
	<rawdevices>
		<rawdevice id="SpaceNavigator"
			type="de.jreality.toolsystem.raw.DeviceJinputJoystick">
			<prop name="id_string">
				<string>.*SpaceExplorer.*</string>
			</prop>
		</rawdevice>
	</rawdevices>

	<rawslots>
		<mapping device="SpaceNavigator" src="x_4_0" target="X" />
		<mapping device="SpaceNavigator" src="y_4_1" target="Y" />
		<mapping device="SpaceNavigator" src="z_4_2" target="Z" />
		<mapping device="SpaceNavigator" src="rx_4_3" target="RX" />
		<mapping device="SpaceNavigator" src="ry_4_4" target="RY" />
		<mapping device="SpaceNavigator" src="rz_4_5" target="RZ" />
		<mapping device="SpaceNavigator" src="button_4_16" target="EncompassActivation"/>
	</rawslots>

	<virtualdevices>
		<virtualdevice type="de.jreality.toolsystem.virtual.VirtualRotationFromRxRyRz">
			<inputslot>RX</inputslot>
			<inputslot>RY</inputslot>
			<inputslot>RZ</inputslot>
			<outputslot>SimpleRotateTransformation</outputslot>
			<prop name="gain">
 				<double>0.05</double>
			</prop>
		</virtualdevice>
		<mapping src="RX" target="SimpleRotateActivation"/>
		<mapping src="RY" target="SimpleRotateActivation"/>
		<mapping src="RZ" target="SimpleRotateActivation"/>
		
		<virtualdevice type="de.jreality.toolsystem.virtual.VirtualTranslationFromXYZ">
			<inputslot>X</inputslot>
			<inputslot>Z</inputslot>
			<inputslot>Y</inputslot>
			<outputslot>SimpleTranslateTransformation</outputslot>
			<prop name="gain">
 				<double>0.2</double>
			</prop>
		</virtualdevice>
		<mapping src="X" target="SimpleDragActivation"/>
		<mapping src="Y" target="SimpleDragActivation"/>
		<mapping src="Z" target="SimpleDragActivation"/>
	</virtualdevices>
</toolconfig>