<p dir="ltr">What do browsers do to implement mouse lock on Macs?</p>
<br><div class="gmail_quote">On Thu, Mar 12, 2015, 8:13 PM Neil Toronto <<a href="mailto:neil.toronto@gmail.com">neil.toronto@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is what I ended up doing, as well as disabling mouse look on OS X.<br>
I used Firefox's autoscroll as inspiration, and I think I've made it<br>
usable enough. Let me know what you think.<br>
<br>
Neil<br>
<br>
On 03/11/2015 01:50 AM, Neil Van Dyke wrote:<br>
> John Clements wrote on 03/11/2015 01:38 AM:<br>
>> Maybe simpler: why not just treat the mouse like a joystick? That is,<br>
>> if you press the mouse down and move it a little to the right and hold<br>
>> it there, the camera continues to move smoothly until you release.<br>
><br>
> Firefox "autoscroll" is one popular example of this. Middle-mouse-down<br>
> on most parts of the page puts an indicator at pointer position on<br>
> screen; then, until mouse-up, the direction and speed of the scrolling<br>
> is relative to the direction and distance of pointer from this indicator.<br>
><br>
> <a href="https://support.mozilla.org/en-US/kb/advanced-panel-accessibility-browsing-network-upda#w_browsing" target="_blank">https://support.mozilla.org/<u></u>en-US/kb/advanced-panel-<u></u>accessibility-browsing-<u></u>network-upda#w_browsing</a><br>
><br>
><br>
> Neil V.<br>
><br>
> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/<u></u>users</a><br>
<br>
____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/<u></u>users</a><br>
</blockquote></div>