I'm currently playing with the Leap Motion controller and trying to use it as a controller for the game Surgeon Simulator. If you search for "leap motion oculus rift surgeon simulator", you'll understand my end goal. However, I'm having issues with simulating the right kind of mouse movements on my Mac.
Problem:
The movement in the game seems to work based off of the mouse movement, not cursor location. For example, you can move the mouse infinitely to the left and still see interaction in the game - it never hits an edge. The libraries that I've tried, don't seem to mimic the right behavior.
I've tried autopy's smooth_move, PyUserInput's mouse library, and methods that I found on various blogs including http://www.geekorgy.com/index.php/2010/06/python-mouse-click-and-move-mouse-in-apple-mac-osx-snow-leopard-10-6-x/ and http://metapep.wordpress.com/2009/07/10/control-the-mouse-on-mac-with-python/
Does anyone have insight to what I'm missing? Is there something fundamental about mouse control that I'm not considering?
I'm nearing the point of trying this all out on a Windows machine instead with the pywin32 library or something.