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.
On Tue, Mar 10, 2015 at 7:53 PM, Robby Findler <ro...@eecs.northwestern.edu> wrote: > I think Mac OS X's official stance on mouse grab (which I mostly > support personally) is: get a new UI design. > > How about: when the snip has the focus, shift and mouse down rotates > things and normal mouse down just moves the mouse? Then you'd get the > ability to slide along left and then go back and slide along some > more. Does something like that work? > > Robby > > On Tue, Mar 10, 2015 at 8:42 PM, Neil Toronto <neil.toro...@gmail.com> > wrote: > > Welp, that's it. Also, you got ninja'd by Jack. > > > > I have some ideas. We'll see how they turn out. > > > > What I really need is mouse grab, but Racket's GUI framework doesn't > provide > > a way to do it. > > > > Neil ⊥ > > > > > > On 03/10/2015 09:39 PM, Alexander D. Knauth wrote: > >> > >> I get that too. > >> > >> On Mar 10, 2015, at 9:34 PM, Neil Toronto <neil.toro...@gmail.com> > wrote: > >> > >>> Robby was afraid that might happen on OS X. The weird thing is that I > >>> don't have reports of it from any other OS X users. > >>> > >>> It looks like we'll need alternative input methods for movement as > well. > >>> (Turns out that WASD aren't necessarily near each other on all > keyboards.) > >>> I'll add this to my input revamp list. > >>> > >>> Neil ⊥ > >>> > >>> On 03/10/2015 07:21 PM, John Clements wrote: > >>>> > >>>> Neil, I'm having a problem on OS X 10.9 where the mouse isn't behaving > >>>> as I expect. I may have to make a movie of this, but I'm hoping not. > The > >>>> short version is this: I can't look around. More specifically: > >>>> - I run the example program (with the circle of radius 1/2). > >>>> - I click on the image. > >>>> - I can move the camera with the keys as expected. > >>>> - Moving the mouse results in quivering, but nothing more. After > >>>> fiddling with it for about five minutes, I've decided that there might > >>>> be a "center the mouse" call that's being used to keep the (hidden) > >>>> mouse cursor in the middle of the window, and that on my mac, at > least, > >>>> this centering call is also returning the orientation of the camera to > >>>> its original location. The result is that I feel like I'm struggling > >>>> with a malevolent genie; I can make the camera turn just a bit, but no > >>>> matter how hard I run, I'm pulled back to the same location. > >>>> > >>>> Let me know if you want me to make a movie of this. > >>>> > >>>> Otherwise: fantastic. Awesome. Fix it so I can show it to all my > >>>> graphics colleagues. > >>>> > >>>> John > >>>> > >>>> > >>>> On Tue, Mar 10, 2015 at 6:35 AM, Konrad Hinsen > >>>> <konrad.hin...@fastmail.net <mailto:konrad.hin...@fastmail.net>> > wrote: > >>>> > >>>> Neil Toronto writes: > >>>> > >>>> > Pict3D is finally ready for public consumption. You can > install > >>>> the > >>>> > package either in DrRacket using "File -> Install Package..." > or > >>>> from > >>>> > the command line using > >>>> > > >>>> > raco pkg install pict3d > >>>> > >>>> This looks quite impressive - thanks! > >>>> > >>>> Where can I download some spare hours to play with this? ;-) > >>>> > >>>> Konrad. > >>>> ____________________ > >>>> 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 > >> > >> > > > > ____________________ > > 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