Writing driver for 3D input device, treating as a joystick?