Hi, 

On 17 Apr 2014, at 17:02, Alexandre Bergel <[email protected]> wrote:

> I have modified the following methods
>       HandMorph>>generateKeyboardEvent: evtBuf 
>       ScrollPane>>scrollByKeyboard: event 
> 
> The effect is now milder. 
> 
> Esteban, would it make sense to remove the event generation bu the VM? This 
> works only for the old-style mouse with an actual wheel. Mighty mouse does 
> not work at all with Pharo.

no, that does not has sense. We need it. What we need is to improve the events 
we have, not to remove them.  
Less than 0.1% of computer-using mankind uses mighty mouse. The rest uses 
regular mouses with old-fashion wheels (or trackpads, like myself). 
So, removing is not a good idea. Not for VM, not for Pharo, and certainly not 
for Moose either.
Improve is the way to go :)

> 
> We have to get this right. Emulation of events is a bad idea.

Yes! I agree and the way we are following is to remove emulation and transmit 
just raw events to the image (and let the image do the work of handling them). 
Now it will take time, but we are going in that direction. 

cheers, 
Esteban

ps: btw… scroll events also has problems in wheel-mouses, but those, I’m not 
sure is a problem of VM or Pharo… I need to go deeper then (any insight would 
be cool) :)

> 
> Alexandre
> 
> 
> -- 
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> 
> 
> 
> On Apr 15, 2014, at 10:36 AM, Alexandre Bergel <[email protected]> 
> wrote:
> 
>> Hi!
>> 
>> Mouse wheel events are so poorly handled in Pharo, that they are not useful. 
>> With Ronie we are seeing how we can better handle events with a window 
>> generated with SDL. But this is for the future.
>> 
>> Is there a way to easily unable them?
>> 
>> Cheers,
>> Alexandre
>> -- 
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>> 
>> 
>> 
>> 
> 


Reply via email to