for deltaY, as the mouse moves up the screen, the value is negative; and as it moves down the screen, the value is positive. http://tinyurl.com/6b36n3s We have it working in backward.
On Fri, Dec 24, 2010 at 1:18 AM, Fred Kiefer <fredkie...@gmx.de> wrote: > Am 22.12.2010 13:32, schrieb Banlu Kemiyatorn: >> 2010/12/22 Fred Kiefer <fredkie...@gmx.de>: >>> Sorry Banlu, >>> >>> I missed this second mail. This explains my stupid question. >>> I had a short look at the Apple documentation and you are right, it >>> doesn't state what happens when this method is called on the wrong event >>> type. Most likely we jst extrapolated the behaviour from the other >>> methods on NSEvent. The better way to find out is of course to write a >>> short test program on Cocoa and implement the same behaviour. >>> I will do that and add this to our test suite. >>> >>> Fred >> >> Hi Fred, >> That should be me, I sent the second mail coz DrNHS bugged me my first >> question was lacking of info. >> >> AFAICT it didn't happen in Cocoa since I have the problem only when >> porting an app I released called Helicropper from a working OSX >> version. But even if it does, I hardly see why someone would expect a >> delta to raise an exception than giving a zero. If they are catching >> stray events they probably should check for event type. >> >> BAnlu > > Done, I will provide the promised test case later one. Tests on Cocoa > showed that your proposal is correct. > > Fred > > _______________________________________________ > Gnustep-dev mailing list > Gnustep-dev@gnu.org > http://lists.gnu.org/mailman/listinfo/gnustep-dev > -- .----. Banlu Kemiyatorn /.../\...\ 漫画家 |.../ \...| http://qstx.blogspot.com (Free Software Advocacy & Development) |../ \..| http://feedbat.blogspot.com (Studio Work For Hire) \/ \/ http://groundzerostudiocomplex.blogspot.com (Studio Research) _______________________________________________ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev