On Tue, Jun 21, 2011 at 8:06 AM, Glenn Maynard <glenn@zewt.org> wrote:
> First-person games typically implement delta mouse movement by hiding
> the mouse cursor, warping the invisible cursor to the center of the
> screen when it moves, and monitoring the distance of mouse movement
> from the center of the screen to calculate deltas. I don't think
> Windows provides a way to retrieve delta mouse movements that doesn't
> clip when the mouse reaches the edge of the screen. I'm not sure
> about other environments.
>
If this is true (I have no reason to believe it isn't!), then mouselock
needs to have the side effect of disabling regular mouse events and hiding
the mouse cursor, since it would be confusing and potentially trigger bugs
if Windows alone did strange things with mouse events.
Rob
--
"If we claim to be without sin, we deceive ourselves and the truth is not in
us. If we confess our sins, he is faithful and just and will forgive us our
sins and purify us from all unrighteousness. If we claim we have not sinned,
we make him out to be a liar and his word is not in us." [1 John 1:8-10]