News for hackers. Stuff that matters.
Re:WebGL: Pointer Lock and First Person Shooter Controls by Shorel on Wednesday December 05, 2012 @10:35AM (#4876675)
It is necessary that way.

The mouse sends high DPI information to the OS, and the OS sends the applications the mouse info they request.

For drawing the pointer in the GUI, lots of DPIs correspond to moving just one pixel.

However, that's just too low resolution for gaming, where the full DPI information is preferable. Also, for gaming, mouse acceleration should be disabled.

The solution in other games is to read the original high DPI info, instead of the mouse screen coordinates.

Of course you are right about spam, but there's a technical reason for this implementation.

There are no comments on this comment yet.