Mouse sensitivity

Hi,

I am playing with some nehe tutorial ports to jogl and a question came to mind : how can you change the mouse cursor sensitivity ?

Thanks

David

If you’re drawing the cursor yourself you can simply use relative mouse inputs and a sensitivity multiplicator.

Eg in quake it looks like this:
x+=mousexsensitivitym_yaw
y+=mouseysensitivitym_pitch

Using a negative m_pitch value inverts the y-axis.