I would compared the previousMouseState with currentMouseState then set the rotation of your object:
| int result = mouseState.Y - previousMouseState.Y; |
| |
| rotation += (float)result * 0.001f; |
I would also lock mouse movement to the centre of the screen and set a clamp on the rotation of the arm.