Re: [racket-dev] Windows horizontal mouse wheel

2011-04-05 Thread Casey Klein
Thanks, Matthew! On Sun, Apr 3, 2011 at 11:39 AM, Matthew Flatt wrote: > The `racket/gui' library now supports horizontal mouse-wheel events, > but I don't have a Windows machine with a mouse that support horizontal > wheel events. As likely as not, I've implemented it backwards for Win32 > (i.e.

Re: [racket-dev] Windows horizontal mouse wheel

2011-04-05 Thread Stephen Chang
Actually, it works on XP too. I just had to get the latest mouse driver. 1 KEY: wheel-left rel-code: down other-codes: (#f #f #f #f) mods: 2 KEY: wheel-right rel-code: down other-codes: (#f #f #f #f) mods: On Tue, Apr 5, 2011 at 9:20 AM, Matthew Flatt wrote: > Sorry! I forgot to f

Re: [racket-dev] Windows horizontal mouse wheel

2011-04-05 Thread Eli Barzilay
9 minutes ago, Stephen Chang wrote: > I found a mouse with horizontal tilting, but like others, I dont see > any events when tilting left or right. This is with Windows XP and > the latest from git. This was resolved later that day -- at least with my mouse. -- ((lambda (x) (x x)) (lam

Re: [racket-dev] Windows horizontal mouse wheel

2011-04-05 Thread Matthew Flatt
Sorry! I forgot to follow up. Eli and I got horizontal wheel events working, at least on his machine. It won't work in XP, because horizontal wheel events are only available for Vista and up. Meanwhile, we also fixed the crash that Robby found with a different kind of mouse. At Tue, 5 Apr 2011 09

Re: [racket-dev] Windows horizontal mouse wheel

2011-04-05 Thread Stephen Chang
I found a mouse with horizontal tilting, but like others, I dont see any events when tilting left or right. This is with Windows XP and the latest from git. On Sun, Apr 3, 2011 at 5:22 PM, Eli Barzilay wrote: > An hour and a half ago, Eli Barzilay wrote: >> >> Still nothing, but maybe I got so

Re: [racket-dev] Windows horizontal mouse wheel

2011-04-03 Thread Eli Barzilay
An hour and a half ago, Eli Barzilay wrote: > > Still nothing, but maybe I got something else wrong -- so I'm > running a new build now, and will try that. I've tried it with the new build, and still the test shows nothing. BTW, I have Emacs on the same machine, and it does get `wheel-right' and

Re: [racket-dev] Windows horizontal mouse wheel

2011-04-03 Thread Matthew Flatt
That makes sense. Apparently the magic mouse is sending scroll events (as opposed to wheel events) directly to the canvas, but the canvas doesn't have scrollbars. I'll fix canvases to ignore scroll events if there's no scrollbar. At Sun, 3 Apr 2011 16:00:16 -0500, Robby Findler wrote: > It appears

Re: [racket-dev] Windows horizontal mouse wheel

2011-04-03 Thread Robby Findler
It appears to happen with an older version (not sure how much older; days at most). Robby On Sun, Apr 3, 2011 at 3:36 PM, Matthew Flatt wrote: > Is that specific to the latest in git, or does the crash happen with > older versions, too? > > At Sun, 3 Apr 2011 15:14:34 -0500, Robby Findler wrote:

Re: [racket-dev] Windows horizontal mouse wheel

2011-04-03 Thread Matthew Flatt
Is that specific to the latest in git, or does the crash happen with older versions, too? At Sun, 3 Apr 2011 15:14:34 -0500, Robby Findler wrote: > Here's what I get (using a windows vm with a mac os x magic mouse (I > think it is called that; it has a little ball on it)). > > Robby > > C:\Users

Re: [racket-dev] Windows horizontal mouse wheel

2011-04-03 Thread Robby Findler
Here's what I get (using a windows vm with a mac os x magic mouse (I think it is called that; it has a little ball on it)). Robby C:\Users\Administrator\git\exp\plt>Racket.exe -l tests/gracket/showkey 0 MOUSE enter (27,12) mods: buttons: entering 0 MOUSE motion (27,12) mods: buttons: movi

Re: [racket-dev] Windows horizontal mouse wheel

2011-04-03 Thread Eli Barzilay
5 minutes ago, Matthew Flatt wrote: > At Sun, 3 Apr 2011 15:20:09 -0400, Eli Barzilay wrote: > > Three hours ago, Matthew Flatt wrote: > > > The `racket/gui' library now supports horizontal mouse-wheel events, > > > but I don't have a Windows machine with a mouse that support horizontal > > > wheel

Re: [racket-dev] Windows horizontal mouse wheel

2011-04-03 Thread Matthew Flatt
At Sun, 3 Apr 2011 15:20:09 -0400, Eli Barzilay wrote: > Three hours ago, Matthew Flatt wrote: > > The `racket/gui' library now supports horizontal mouse-wheel events, > > but I don't have a Windows machine with a mouse that support horizontal > > wheel events. As likely as not, I've implemented it

Re: [racket-dev] Windows horizontal mouse wheel

2011-04-03 Thread Eli Barzilay
Three hours ago, Matthew Flatt wrote: > The `racket/gui' library now supports horizontal mouse-wheel events, > but I don't have a Windows machine with a mouse that support horizontal > wheel events. As likely as not, I've implemented it backwards for Win32 > (i.e., it's tricky atbest to match posit

Re: [racket-dev] Windows horizontal mouse wheel

2011-04-03 Thread Stephen Chang
Ok, my mouse must not be advanced enough. I'll see if I can find one. On Sun, Apr 3, 2011 at 3:03 PM, Matthew Flatt wrote: > At Sun, 3 Apr 2011 13:52:14 -0400, Stephen Chang wrote: >> Is this different from clicking and dragging the wheel button around? > > Yes, a horizontal mouse wheel would b

Re: [racket-dev] Windows horizontal mouse wheel

2011-04-03 Thread Matthew Flatt
At Sun, 3 Apr 2011 13:52:14 -0400, Stephen Chang wrote: > Is this different from clicking and dragging the wheel button around? Yes, a horizontal mouse wheel would be different. It would be the same as two-finger scrolling horizonally, I assume, if trackpads support that. (Maybe it would work in V

Re: [racket-dev] Windows horizontal mouse wheel

2011-04-03 Thread Stephen Chang
Is this different from clicking and dragging the wheel button around? Because that seems to work. It doesnt say left or right though, just "MIDDLE dragging moving". On Sun, Apr 3, 2011 at 12:39 PM, Matthew Flatt wrote: > The `racket/gui' library now supports horizontal mouse-wheel events, > b

[racket-dev] Windows horizontal mouse wheel

2011-04-03 Thread Matthew Flatt
The `racket/gui' library now supports horizontal mouse-wheel events, but I don't have a Windows machine with a mouse that support horizontal wheel events. As likely as not, I've implemented it backwards for Win32 (i.e., it's tricky atbest to match positive/negative with left/right based on the docs