Reply To: Joystick as tracking device?

Home Forums AR Sandbox Forum Joystick as tracking device? Reply To: Joystick as tracking device?


Hi Oliver,

I ended up getting a SteelSeriesStratusXL, and it works using the config file you provided. I was also able to get the SixAxisTransformTool working, including setting bindings in the SARndbox config file so that they’re available when the program is run. I can move the little cone around, and add water locally at its position. Success! I found that I needed to change “ForwardedDevice0, Valuator0,…” from the SpaceTraveler example to be the name of the device itself. Could you confirm whether I have used this tool correctly in the my SARndbox config file below?

section Vrui
    section Desktop

	inputDeviceAdapterNames += (HIDAdapter)
	section HIDAdapter
	        inputDeviceAdapterType HID
		inputDeviceNames (SteelSeriesStratusXL)
		section SteelSeriesStratusXL
			name SteelSeriesStratusXL
			deviceVendorProductId 0111:1419
			trackingDeviceName Mouse
			trackingDeviceType Ray
			axis0Settings (-2047, 0, 0,  2047)
			axis1Settings ( 2047, 0, 0, -2047)
			axis2Settings (-2047, 0, 0,  2047)
			axis3Settings ( 2047, 0, 0, -2047)
			axis4Settings (-4095, 0, 0,  4095)
			axis5Settings (-4095, 0, 0,  4095)
			buttonNames (Back, Home, A, B, X, Y, L1, R1, Forward, LStick, RStick)
			valuatorNames (LStickX, LStickY, RStickX, RStickY, R2, L2, DPadX, DPadY)

        section Tools

            section DefaultTools

		section SteelSeriesStratusXLtool
                        toolClass SixAxisTransformTool
			bindings ((SteelSeriesStratusXL,Home,A,B,X,Y), \
			          (SteelSeriesStratusXL, LStickX, L2, LStickY, RStickX, RStickY, R2))

                section LocalWaterTool
                    toolClass LocalWaterTool
                    bindings ((SteelSeriesStratusXL, A,B))


As for the other controller, I keep getting the exception “InputDeviceAdapterHID::InputDeviceAdapterHID: No match for vendorId:productId” – I can see the vendor/id using lsusb (045e:0291), and I also see it appear in /dev/input/by-id with both event-joystick and joystick entries. Any other trick I might try?

Thanks again for your help – and thanks for this wonderful Sandbox project!


Comments are closed.