i have a mouse like that in build with my vr glasses.
http://www.3dvisor.com/it works just like an normal mouse. it pops op as a normal mouse ( like any usb) mouse.in some games were you are moving with the mouse an you have to hold a key down to use "free lock" then you can go to prefs an set up mouse2 to do freelock and then set the capluck key to activate "freelock" when you get inside the game u turn the 3d on then you push the capz key when you have synzonized your head with centum of the monitor..
yes it is another exerpize but mostly becuse og the head mounted dispay and the 3d..
i am not quirte sure i understand how the . X,Y,and Z world work with the xmos or how to do it the way you discraped.
there is most suport for thease with plane simolators. if your are using a joystick and use "the mouse to freelock"