I am using the ChaseCamera in my simple game and I have set it to perform a mouse look when the left button is pressed:
ChaseCamera chaser = new ChaseCamera(cam, player, props);
I am also using an AbsoluteMouse registered with my input handler to display my own mouse cursor.
Now I would like to make the cursor invisible when the left button is pressed and make it reappear when it is released. Is there an easy way to do it?