Hey guys,
I am coding in B+ but this problem could be solved by B3D users just as easily I am sure. I am trying to come up with reliable code to get the mouse to emulate a digital 4-way joystick.
I have tried various methods to read the mouse speed with the MouseXSpeed/MouseYSpeed commands. This works okay until the mouse pointer hits the extent of the screen and then you can no longer move in that direction. Using a forced MoveMouse command to re-centre makes MouseSpeed think the user has quickly moved the mouse. and messes the control all up.
I challenge you to come up with a method to get solid digital movement with the mouse. If you do I will be forever greatful! Thanks.
I am coding in B+ but this problem could be solved by B3D users just as easily I am sure. I am trying to come up with reliable code to get the mouse to emulate a digital 4-way joystick.
I have tried various methods to read the mouse speed with the MouseXSpeed/MouseYSpeed commands. This works okay until the mouse pointer hits the extent of the screen and then you can no longer move in that direction. Using a forced MoveMouse command to re-centre makes MouseSpeed think the user has quickly moved the mouse. and messes the control all up.
I challenge you to come up with a method to get solid digital movement with the mouse. If you do I will be forever greatful! Thanks.