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