hpi-swa / RSqueak

A Squeak/Smalltalk VM written in RPython.
BSD 3-Clause "New" or "Revised" License
84 stars 15 forks source link

Mouse wheel produces left and right clicks #62

Closed j4yk closed 8 years ago

j4yk commented 9 years ago

Someone else try to reproduce, please.

Scrolling up produces left (red) clicks, scrolling down produces right (yellow) clicks.

timfel commented 9 years ago

Yes, same for me. The issue is (I think) that the normal Squeak VM actually translates mousewheel into Alt+Down or something like that. @marceltaeumel knows this better.

j4yk commented 9 years ago

Then for me the question is whether, in addition to the obligatory workaround mapping of the wheel events, Squeak images want to learn about the existence of a Mouse Wheel at some time. :-)

timfel commented 9 years ago

Actually, why not, if we're reporting the mouse wheel right, we should be able to just adapt the Smalltalk code to distinguish it from the buttons. I'll dig into that.

timfel commented 9 years ago

Since we still have time to the Squeak 4.6 release, we might be able to get @marceltaeumel to push that change through for us :)

timfel commented 9 years ago

Related: http://forum.world.st/Unique-Mouse-Wheel-Events-td4814473.html

Also: wat?

timfel commented 8 years ago

We now generate MouseWheelEvents, and with a recent trunk image this works.