Re: [Pharo-users] MouseWheel events

2015-05-12 Thread Sean P. DeNigris
Matthieu Lacaton wrote > I was just surprised by VM events... That's understandable. We inherited quite a mess with events, but we've been slowly cleaning and SDL seems exciting! - Cheers, Sean -- View this message in context: http://forum.world.st/MouseWheel-events-tp4824839p4825959.html

Re: [Pharo-users] MouseWheel events

2015-05-12 Thread Sean P. DeNigris
stepharo wrote > We are working on SDL based events so we should probably synchronise. > Because mouse wheel should be an event and not simulated. Absolutely! I was just improving the existing hack (mainly because I want horizontal wheel events) until you guys finish something really good :) --

Re: [Pharo-users] MouseWheel events

2015-05-12 Thread Matthieu Lacaton
Le 11/5/15 02:34, Sean P. DeNigris a écrit : > Matthieu Lacaton wrote > >> Let's say for example thant I want to create a rectangle on the screen and >> be able to move it up and down by pressing CTRL + up / down arrow and be >> able to rotate it with the mouse wheel. Does this mean that on Linux

Re: [Pharo-users] MouseWheel events

2015-05-11 Thread stepharo
Sean We are working on SDL based events so we should probably synchronise. Because mouse wheel should be an event and not simulated. Merwan is producing touch event. Stef Le 11/5/15 02:34, Sean P. DeNigris a écrit : Matthieu Lacaton wrote Let's say for example thant I want to create a rectangl

Re: [Pharo-users] MouseWheel events

2015-05-10 Thread Matthieu Lacaton
> > That is correct by default, but you can always hack the VM if you rally > want that behavior. Also, if you just wait a bit, I'm in the process of > remapping the wheel simulation shortcuts to be extremely less likely to > conflict with actual keyboard events. It is already done for Mac. I w

Re: [Pharo-users] MouseWheel events

2015-05-10 Thread Sean P. DeNigris
Matthieu Lacaton wrote > Let's say for example thant I want to create a rectangle on the screen and > be able to move it up and down by pressing CTRL + up / down arrow and be > able to rotate it with the mouse wheel. Does this mean that on Linux I > just > can't ? That is correct by default, but y

Re: [Pharo-users] MouseWheel events

2015-05-10 Thread Matthieu Lacaton
Okay, thank you for your answer, but there is one thing I am not sure I understand : Let's say for example thant I want to create a rectangle on the screen and be able to move it up and down by pressing CTRL + up / down arrow and be able to rotate it with the mouse wheel. Does this mean that on Li

Re: [Pharo-users] MouseWheel events

2015-05-06 Thread Sean P. DeNigris
Matthieu Lacaton wrote > Shouldn't I get a MouseWheel event when i use the wheel and a keystroke > when I use CTRL + Arrow ? Yes! But the hack that you discovered is what we have :) It's done well for us given it's simplicity. But it's far from ideal. For instance, IIRC the delta is fixed, so scro

[Pharo-users] MouseWheel events

2015-05-06 Thread Matthieu Lacaton
Hello everyone, I have a question about MouseWheel events in Pharo. On Linux, when I use the wheel of my mouse the event I get in return is an instance of MouseWheelEvent : *" [(606@633) mouseWheel Character arrowDown CTRL 33261828 nil] "* When I press "CTRL + ArrowUp" or "CTRL + ArrowDown" on m