Troubles with Mouse

Hi,

I’m new to JInput and I have a problem which I cannot solve. The keyboard works fine but my mouse doesn’t. Now for to test my application, I want to rotate my camera with the mouse movement nut when i poll the mouse, I always get 0 back.

What do I have to do, I thought about sticking the hardware mouse cursor to 0,0 but then I need some other cursor. Anyone can help me out what I have to to there?

On the other side, later for the real usage and not the test one. I want to be able to move to cursor inside the application and pick objects.

What would you suggest me?

Ok, sorry I’ve found the problem.

Had a second mouse connected to my computer and it was so hidden that i completely forgot it. Now as this second mouse was initialized last it was used for my app. And of course, this mouse never moved so it was always 0,0.