Is there a way to make mouse movement act like a joystick, including the dead zone? So, if the mouse is moved away from the middle of the screen I can make an object move?
For example, I have a space ship and if the mouse is in (or near) the middle of the screen, it will keep facing forward. But if it is moved to the left/right, or top/bottom of the screen, the ship will start rotating. (And will keep rotating until the mouse is returned close to the middle. (There will probably be an onscreen crosshair or similar indicating the mouse position)
Thanks!