[fltk.development] Fl_cocoa.mm -- STR #2323

2010-03-03 Thread Greg Ercolano
Matt/Manolo, I know your focused on printing at the moment, but can you quickly check the 2 patches in STR #2323 before I check them in? http://fltk.org/str.php?U2323 Although I'm not familiar with Cocoa, I have a fairly high level of confidence two issues are fixed by thes

Re: [fltk.development] Fl_cocoa.mm -- STR #2323

2010-03-03 Thread manolo gouy
> Matt/Manolo, > >I know your focused on printing at the moment, >but can you quickly check the 2 patches in STR #2323 >before I check them in? > >http://fltk.org/str.php?U2323 > >Although I'm not familiar with Cocoa, I have a fairly >high level of confidence two issues

Re: [fltk.development] Fl_cocoa.mm -- STR #2323

2010-03-03 Thread imacarthur
> > For the other one, some testing seems needed to make sure that > wheel movements don't become exagerately fast after this > multiplication by 10. I don't have here the development environment > to test. May be you've already tested that. Also the Qt solution > is what you suggest, so the patch

Re: [fltk.development] Fl_cocoa.mm -- STR #2323

2010-03-03 Thread Greg Ercolano
imacarthur wrote: > I dug out the puck for my Wacom tablet on this OSX 10.4.11 machine - > the puck has a mousewheel on it. > > Ran Greg's mousewheel test code, and in the shell I get [..] > +/-3 values appear when I roll the wheel one click. The bigger > numbers appear when I spin the wheel f

Re: [fltk.development] Fl_cocoa.mm -- STR #2323

2010-03-03 Thread Greg Ercolano
manolo gouy wrote: > Greg: the patch regarding the missing right and middle drag events > is for sure correct. Great; at very least I'll check the right/middle drag in, as there seems no problem with that. > For the other one, some testing seems needed to make sure that > wheel mo

Re: [fltk.development] Fl_cocoa.mm -- STR #2323

2010-03-03 Thread Greg Ercolano
I tested a Microsoft wheelmouse, and it was same as Logitech; 0.1 per click. I tried a few different techniques massaging the deltas.. this one seemed to work well, as it avoids the scale, but lets the single clicks through. This yielded a pretty reasonable "scroll

Re: [fltk.development] Fl_cocoa.mm -- STR #2323

2010-03-03 Thread Domingo Alvarez Duarte
Greg Ercolano wrote: Wil be possible to have mouse acceleration on win32 too ! ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev

Re: [fltk.development] Fl_cocoa.mm -- STR #2323

2010-03-03 Thread manolo gouy
> I tested a Microsoft wheelmouse, and it was same as Logitech; 0.1 per > click. > > I tried a few different techniques massaging the deltas.. > this one seemed to work well, as it avoids the scale, but lets the > single clicks through. This yielded a pretty reasonable "scr

Re: [fltk.development] Fl_cocoa.mm -- STR #2323

2010-03-04 Thread Greg Ercolano
manolo gouy wrote: >> I tested a Microsoft wheelmouse, and it was same as Logitech; 0.1 per >> click. >> >> I tried a few different techniques massaging the deltas.. >> this one seemed to work well, as it avoids the scale, but lets the >> single clicks through. This yielded a p

Re: [fltk.development] Fl_cocoa.mm -- STR #2323

2010-03-04 Thread MacArthur, Ian (SELEX GALILEO, UK)
> imacarthur wrote: > > I dug out the puck for my Wacom tablet on this OSX 10.4.11 > machine - > > the puck has a mousewheel on it. > > > > Ran Greg's mousewheel test code, and in the shell I get [..] > > +/-3 values appear when I roll the wheel one click. The bigger > > numbers appear when

Re: [fltk.development] Fl_cocoa.mm -- STR #2323

2010-03-04 Thread MacArthur, Ian (SELEX GALILEO, UK)
> Or maybe just assume anything less than 1 is 1, > and don't scale at all. Given my experience with the Wacom puck, that might be best? I need to dig out a USB scrollmouse from somewhere and hook that up and try it - maybe this eve... So, what we are talking about is something lik

Re: [fltk.development] Fl_cocoa.mm -- STR #2323

2010-03-04 Thread Greg Ercolano
MacArthur, Ian (SELEX GALILEO, UK) wrote: >> Or maybe just assume anything less than 1 is 1, >> and don't scale at all. > > Given my experience with the Wacom puck, that might be best? Yep, sounds like it. I'm guessing, though, the wacom puck intentionally sends large

Re: [fltk.development] Fl_cocoa.mm -- STR #2323

2010-03-04 Thread Greg Ercolano
Greg Ercolano wrote: > manolo gouy wrote: >> Greg: I think this one seems to be the good one, according to your >> pertinent tests. > > Great; I'll check that and the drag patch in tomorrow morning > when I get in. It can always be further refined later if need be. Done; fixes for

Re: [fltk.development] Fl_cocoa.mm -- STR #2323

2010-03-05 Thread MacArthur, Ian (SELEX GALILEO, UK)
> > Great; I'll check that and the drag patch in tomorrow morning > > when I get in. It can always be further refined later > if need be. > >Done; fixes for mousewheel and right/middle drag events > checked into svn r7213 Tested this with my Wacom puck. Seems to be doing the Right

Re: [fltk.development] Fl_cocoa.mm -- STR #2323

2010-03-05 Thread Greg Ercolano
MacArthur, Ian (SELEX GALILEO, UK) wrote: >> Done; fixes for mousewheel and right/middle drag events >> checked into svn r7213 > > Tested this with my Wacom puck. Seems to be doing the Right Thing. Great.. will close it on Sunday if nothing else comes in.