So what does it do?
With a mouse, if you want to make a long motion in one direction (ie torso twist from all the way left to all the way right), you have to keep picking it up and re positioning it, and it stops while you pick it up.
With a trackball, you just spin the ball, then put your hand back on the ball when you want to stop.
RollMouse simulates spinning a virtual trackball, but with a mouse.
If you move your mouse quickly, then pick the mouse up off the mat while still moving, the sensor goes from "I am moving really fast!" to "I am not moving" quicker than it would if you just stopped moving the mouse while still on the mat (due to inertia). RollMouse tries to detect this "flick and lift" and generate mouse input in the direction you moved, until you put the mouse back on the mat.
The upshot is that it lets you play MWO with a low mouse sensitivity (good for accuracy), but when you want to perform a long torso twist, you can just flick the mouse in the desired direction and pick the mouse up off the mat.
The software detects the flick and lift, and keeps rotating the torso in the desired direction until you place the mouse back on the mat.
The code is here: https://github.com/evilC/RollMouse/
Edited by evilC, 24 June 2015 - 07:25 AM.