Horizontal wheel

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

Horizontal wheel

abergel
hi!

Pharo supports the vertical wheel. I can use my moose wheel to scroll over a list. However, the horizontal wheel does not seem supported. It would be very cool to have it...

http://code.google.com/p/pharo/issues/detail?id=4752

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply | Threaded
Open this post in threaded view
|

Re: Horizontal wheel

Gary Chambers-4
I can add the support if you can work out what the VM sends as key/char
codes... ;-)

Regards, Gary

----- Original Message -----
From: "Alexandre Bergel" <[hidden email]>
To: "Pharo Development" <[hidden email]>
Sent: Friday, September 02, 2011 2:06 PM
Subject: [Pharo-project] Horizontal wheel


> hi!
>
> Pharo supports the vertical wheel. I can use my moose wheel to scroll over
> a list. However, the horizontal wheel does not seem supported. It would be
> very cool to have it...
>
> http://code.google.com/p/pharo/issues/detail?id=4752
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Horizontal wheel

abergel
We need a VM expert...
I am sure there is a good soul on the mailing list.

Alexandre


On 2 Sep 2011, at 10:31, Gary Chambers wrote:

> I can add the support if you can work out what the VM sends as key/char codes... ;-)
>
> Regards, Gary
>
> ----- Original Message ----- From: "Alexandre Bergel" <[hidden email]>
> To: "Pharo Development" <[hidden email]>
> Sent: Friday, September 02, 2011 2:06 PM
> Subject: [Pharo-project] Horizontal wheel
>
>
>> hi!
>>
>> Pharo supports the vertical wheel. I can use my moose wheel to scroll over a list. However, the horizontal wheel does not seem supported. It would be very cool to have it...
>>
>> http://code.google.com/p/pharo/issues/detail?id=4752
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply | Threaded
Open this post in threaded view
|

Re: Horizontal wheel

Igor Stasenko
Historically, VMs are not generating mouse wheel events,
instead they interpreting OS events and generating ctrl-up/ctrl-down key events.

To instroduce horizontal wheel , a changes to VM is needed.

On 2 September 2011 16:39, Alexandre Bergel <[hidden email]> wrote:

> We need a VM expert...
> I am sure there is a good soul on the mailing list.
>
> Alexandre
>
>
> On 2 Sep 2011, at 10:31, Gary Chambers wrote:
>
>> I can add the support if you can work out what the VM sends as key/char codes... ;-)
>>
>> Regards, Gary
>>
>> ----- Original Message ----- From: "Alexandre Bergel" <[hidden email]>
>> To: "Pharo Development" <[hidden email]>
>> Sent: Friday, September 02, 2011 2:06 PM
>> Subject: [Pharo-project] Horizontal wheel
>>
>>
>>> hi!
>>>
>>> Pharo supports the vertical wheel. I can use my moose wheel to scroll over a list. However, the horizontal wheel does not seem supported. It would be very cool to have it...
>>>
>>> http://code.google.com/p/pharo/issues/detail?id=4752
>>>
>>> Cheers,
>>> Alexandre
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>
>>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
>



--
Best regards,
Igor Stasenko AKA sig.

Reply | Threaded
Open this post in threaded view
|

Re: Horizontal wheel

Johannes Rasche
for at least MAC OS it seems to be very cool :)
to support the trackpads
I cannot imagine that other platforms don't make use of trackpads
yes a good soul is wanted
Am 02.09.2011 um 15:45 schrieb Igor Stasenko:

> Historically, VMs are not generating mouse wheel events,
> instead they interpreting OS events and generating ctrl-up/ctrl-down key events.
>
> To instroduce horizontal wheel , a changes to VM is needed.
>
> On 2 September 2011 16:39, Alexandre Bergel <[hidden email]> wrote:
>> We need a VM expert...
>> I am sure there is a good soul on the mailing list.
>>
>> Alexandre
>>
>>
>> On 2 Sep 2011, at 10:31, Gary Chambers wrote:
>>
>>> I can add the support if you can work out what the VM sends as key/char codes... ;-)
>>>
>>> Regards, Gary
>>>
>>> ----- Original Message ----- From: "Alexandre Bergel" <[hidden email]>
>>> To: "Pharo Development" <[hidden email]>
>>> Sent: Friday, September 02, 2011 2:06 PM
>>> Subject: [Pharo-project] Horizontal wheel
>>>
>>>
>>>> hi!
>>>>
>>>> Pharo supports the vertical wheel. I can use my moose wheel to scroll over a list. However, the horizontal wheel does not seem supported. It would be very cool to have it...
>>>>
>>>> http://code.google.com/p/pharo/issues/detail?id=4752
>>>>
>>>> Cheers,
>>>> Alexandre
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>


Reply | Threaded
Open this post in threaded view
|

Re: Horizontal wheel

Igor Stasenko
On 2 September 2011 16:52, Johannes Rasche <[hidden email]> wrote:
> for at least MAC OS it seems to be very cool :)
> to support the trackpads
> I cannot imagine that other platforms don't make use of trackpads
> yes a good soul is wanted
> Am 02.09.2011 um 15:45 schrieb Igor Stasenko:
>

Well,  cocoa vms are handling horizontal wheel events:
=====
- (void) recordWheelEvent:(NSEvent *) theEvent fromView:
(sqSqueakOSXNSView *) aView{
               
        [self recordMouseEvent: theEvent fromView: aView];
        CGFloat x = [theEvent deltaX];
        CGFloat y = [theEvent deltaY];

        if (x != 0.0f) {
                [self fakeMouseWheelKeyboardEventsKeyCode: (x < 0 ? 124 : 123)
ascii: (x < 0 ? 29 : 28) windowIndex:  (int)
aView.windowLogic.windowIndex];
        }
        if (y != 0.0f) {
                [self fakeMouseWheelKeyboardEventsKeyCode: (y < 0 ? 125 : 126)
ascii: (y < 0 ? 31 : 30) windowIndex: (int)
aView.windowLogic.windowIndex];
        }
}
=====

so, a key code is 125 or 126 and char code 31 or 30.

it remains to figure out, if image actually handling those.

--
Best regards,
Igor Stasenko AKA sig.

Reply | Threaded
Open this post in threaded view
|

Re: Horizontal wheel

Gary Chambers-4
In reply to this post by Igor Stasenko
Indeed, Igor.

Curious what events we get from a horizontal wheel... possibly platform
dependent too.
(could possibly test when in office with a mouse that has left-right wheel
clickers)

Regards, Gary

----- Original Message -----
From: "Igor Stasenko" <[hidden email]>
To: <[hidden email]>
Sent: Friday, September 02, 2011 2:45 PM
Subject: Re: [Pharo-project] Horizontal wheel


Historically, VMs are not generating mouse wheel events,
instead they interpreting OS events and generating ctrl-up/ctrl-down key
events.

To instroduce horizontal wheel , a changes to VM is needed.

On 2 September 2011 16:39, Alexandre Bergel <[hidden email]> wrote:

> We need a VM expert...
> I am sure there is a good soul on the mailing list.
>
> Alexandre
>
>
> On 2 Sep 2011, at 10:31, Gary Chambers wrote:
>
>> I can add the support if you can work out what the VM sends as key/char
>> codes... ;-)
>>
>> Regards, Gary
>>
>> ----- Original Message ----- From: "Alexandre Bergel"
>> <[hidden email]>
>> To: "Pharo Development" <[hidden email]>
>> Sent: Friday, September 02, 2011 2:06 PM
>> Subject: [Pharo-project] Horizontal wheel
>>
>>
>>> hi!
>>>
>>> Pharo supports the vertical wheel. I can use my moose wheel to scroll
>>> over a list. However, the horizontal wheel does not seem supported. It
>>> would be very cool to have it...
>>>
>>> http://code.google.com/p/pharo/issues/detail?id=4752
>>>
>>> Cheers,
>>> Alexandre
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>
>>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
>



--
Best regards,
Igor Stasenko AKA sig.


Reply | Threaded
Open this post in threaded view
|

Re: Horizontal wheel

abergel
Thanks guys for considering this.

Alexandre


On 2 Sep 2011, at 11:02, Gary Chambers wrote:

> Indeed, Igor.
>
> Curious what events we get from a horizontal wheel... possibly platform dependent too.
> (could possibly test when in office with a mouse that has left-right wheel clickers)
>
> Regards, Gary
>
> ----- Original Message ----- From: "Igor Stasenko" <[hidden email]>
> To: <[hidden email]>
> Sent: Friday, September 02, 2011 2:45 PM
> Subject: Re: [Pharo-project] Horizontal wheel
>
>
> Historically, VMs are not generating mouse wheel events,
> instead they interpreting OS events and generating ctrl-up/ctrl-down key events.
>
> To instroduce horizontal wheel , a changes to VM is needed.
>
> On 2 September 2011 16:39, Alexandre Bergel <[hidden email]> wrote:
>> We need a VM expert...
>> I am sure there is a good soul on the mailing list.
>>
>> Alexandre
>>
>>
>> On 2 Sep 2011, at 10:31, Gary Chambers wrote:
>>
>>> I can add the support if you can work out what the VM sends as key/char codes... ;-)
>>>
>>> Regards, Gary
>>>
>>> ----- Original Message ----- From: "Alexandre Bergel" <[hidden email]>
>>> To: "Pharo Development" <[hidden email]>
>>> Sent: Friday, September 02, 2011 2:06 PM
>>> Subject: [Pharo-project] Horizontal wheel
>>>
>>>
>>>> hi!
>>>>
>>>> Pharo supports the vertical wheel. I can use my moose wheel to scroll over a list. However, the horizontal wheel does not seem supported. It would be very cool to have it...
>>>>
>>>> http://code.google.com/p/pharo/issues/detail?id=4752
>>>>
>>>> Cheers,
>>>> Alexandre
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply | Threaded
Open this post in threaded view
|

Re: Horizontal wheel

Gary Chambers-4
In reply to this post by Igor Stasenko
Not yet. I retrofitted the fake keys to be reified as a mouse wheel event.
Even included a possible "direction" for just this eventualtity!

I'll see if it can work on Windows/Linux next week.

Regards, Gary

----- Original Message -----
From: "Igor Stasenko" <[hidden email]>
To: <[hidden email]>
Sent: Friday, September 02, 2011 3:01 PM
Subject: Re: [Pharo-project] Horizontal wheel


> On 2 September 2011 16:52, Johannes Rasche <[hidden email]> wrote:
>> for at least MAC OS it seems to be very cool :)
>> to support the trackpads
>> I cannot imagine that other platforms don't make use of trackpads
>> yes a good soul is wanted
>> Am 02.09.2011 um 15:45 schrieb Igor Stasenko:
>>
>
> Well,  cocoa vms are handling horizontal wheel events:
> =====
> - (void) recordWheelEvent:(NSEvent *) theEvent fromView:
> (sqSqueakOSXNSView *) aView{
>
> [self recordMouseEvent: theEvent fromView: aView];
> CGFloat x = [theEvent deltaX];
> CGFloat y = [theEvent deltaY];
>
> if (x != 0.0f) {
> [self fakeMouseWheelKeyboardEventsKeyCode: (x < 0 ? 124 : 123)
> ascii: (x < 0 ? 29 : 28) windowIndex:  (int)
> aView.windowLogic.windowIndex];
> }
> if (y != 0.0f) {
> [self fakeMouseWheelKeyboardEventsKeyCode: (y < 0 ? 125 : 126)
> ascii: (y < 0 ? 31 : 30) windowIndex: (int)
> aView.windowLogic.windowIndex];
> }
> }
> =====
>
> so, a key code is 125 or 126 and char code 31 or 30.
>
> it remains to figure out, if image actually handling those.
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>


Reply | Threaded
Open this post in threaded view
|

Re: Horizontal wheel

Stéphane Ducasse
In reply to this post by abergel
no you should just write the transcript the events have a look at HandMorph handle event method.

Stef
On Sep 2, 2011, at 3:39 PM, Alexandre Bergel wrote:

> We need a VM expert...
> I am sure there is a good soul on the mailing list.
>
> Alexandre
>
>
> On 2 Sep 2011, at 10:31, Gary Chambers wrote:
>
>> I can add the support if you can work out what the VM sends as key/char codes... ;-)
>>
>> Regards, Gary
>>
>> ----- Original Message ----- From: "Alexandre Bergel" <[hidden email]>
>> To: "Pharo Development" <[hidden email]>
>> Sent: Friday, September 02, 2011 2:06 PM
>> Subject: [Pharo-project] Horizontal wheel
>>
>>
>>> hi!
>>>
>>> Pharo supports the vertical wheel. I can use my moose wheel to scroll over a list. However, the horizontal wheel does not seem supported. It would be very cool to have it...
>>>
>>> http://code.google.com/p/pharo/issues/detail?id=4752
>>>
>>> Cheers,
>>> Alexandre
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>
>>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Horizontal wheel

Gary Chambers-4
Or make a "ShowEventsTester" morph ;-)

Regards, Gary

----- Original Message -----
From: "Stéphane Ducasse" <[hidden email]>
To: <[hidden email]>
Sent: Friday, September 02, 2011 4:35 PM
Subject: Re: [Pharo-project] Horizontal wheel


no you should just write the transcript the events have a look at HandMorph
handle event method.

Stef
On Sep 2, 2011, at 3:39 PM, Alexandre Bergel wrote:

> We need a VM expert...
> I am sure there is a good soul on the mailing list.
>
> Alexandre
>
>
> On 2 Sep 2011, at 10:31, Gary Chambers wrote:
>
>> I can add the support if you can work out what the VM sends as key/char
>> codes... ;-)
>>
>> Regards, Gary
>>
>> ----- Original Message ----- From: "Alexandre Bergel"
>> <[hidden email]>
>> To: "Pharo Development" <[hidden email]>
>> Sent: Friday, September 02, 2011 2:06 PM
>> Subject: [Pharo-project] Horizontal wheel
>>
>>
>>> hi!
>>>
>>> Pharo supports the vertical wheel. I can use my moose wheel to scroll
>>> over a list. However, the horizontal wheel does not seem supported. It
>>> would be very cool to have it...
>>>
>>> http://code.google.com/p/pharo/issues/detail?id=4752
>>>
>>> Cheers,
>>> Alexandre
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>
>>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>



Reply | Threaded
Open this post in threaded view
|

Re: Horizontal wheel

Gary Chambers-4
Perhaps worth checking out various keyboard "zoom" controllers too...

Regards, Gary

----- Original Message -----
From: "Gary Chambers" <[hidden email]>
To: <[hidden email]>
Sent: Friday, September 02, 2011 4:57 PM
Subject: Re: [Pharo-project] Horizontal wheel


> Or make a "ShowEventsTester" morph ;-)
>
> Regards, Gary
>
> ----- Original Message -----
> From: "Stéphane Ducasse" <[hidden email]>
> To: <[hidden email]>
> Sent: Friday, September 02, 2011 4:35 PM
> Subject: Re: [Pharo-project] Horizontal wheel
>
>
> no you should just write the transcript the events have a look at
> HandMorph handle event method.
>
> Stef
> On Sep 2, 2011, at 3:39 PM, Alexandre Bergel wrote:
>
>> We need a VM expert...
>> I am sure there is a good soul on the mailing list.
>>
>> Alexandre
>>
>>
>> On 2 Sep 2011, at 10:31, Gary Chambers wrote:
>>
>>> I can add the support if you can work out what the VM sends as key/char
>>> codes... ;-)
>>>
>>> Regards, Gary
>>>
>>> ----- Original Message ----- From: "Alexandre Bergel"
>>> <[hidden email]>
>>> To: "Pharo Development" <[hidden email]>
>>> Sent: Friday, September 02, 2011 2:06 PM
>>> Subject: [Pharo-project] Horizontal wheel
>>>
>>>
>>>> hi!
>>>>
>>>> Pharo supports the vertical wheel. I can use my moose wheel to scroll
>>>> over a list. However, the horizontal wheel does not seem supported. It
>>>> would be very cool to have it...
>>>>
>>>> http://code.google.com/p/pharo/issues/detail?id=4752
>>>>
>>>> Cheers,
>>>> Alexandre
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Horizontal wheel

Gary Chambers-4
In reply to this post by Gary Chambers-4
Not sure how it would translate but would be nice to get proper events for
such things, handle on the image side...

Regards, Gary

----- Original Message -----
From: "Gary Chambers" <[hidden email]>
To: <[hidden email]>
Sent: Friday, September 02, 2011 4:57 PM
Subject: Re: [Pharo-project] Horizontal wheel


> Or make a "ShowEventsTester" morph ;-)
>
> Regards, Gary
>
> ----- Original Message -----
> From: "Stéphane Ducasse" <[hidden email]>
> To: <[hidden email]>
> Sent: Friday, September 02, 2011 4:35 PM
> Subject: Re: [Pharo-project] Horizontal wheel
>
>
> no you should just write the transcript the events have a look at
> HandMorph handle event method.
>
> Stef
> On Sep 2, 2011, at 3:39 PM, Alexandre Bergel wrote:
>
>> We need a VM expert...
>> I am sure there is a good soul on the mailing list.
>>
>> Alexandre
>>
>>
>> On 2 Sep 2011, at 10:31, Gary Chambers wrote:
>>
>>> I can add the support if you can work out what the VM sends as key/char
>>> codes... ;-)
>>>
>>> Regards, Gary
>>>
>>> ----- Original Message ----- From: "Alexandre Bergel"
>>> <[hidden email]>
>>> To: "Pharo Development" <[hidden email]>
>>> Sent: Friday, September 02, 2011 2:06 PM
>>> Subject: [Pharo-project] Horizontal wheel
>>>
>>>
>>>> hi!
>>>>
>>>> Pharo supports the vertical wheel. I can use my moose wheel to scroll
>>>> over a list. However, the horizontal wheel does not seem supported. It
>>>> would be very cool to have it...
>>>>
>>>> http://code.google.com/p/pharo/issues/detail?id=4752
>>>>
>>>> Cheers,
>>>> Alexandre
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Horizontal wheel

Stéphane Ducasse
In reply to this post by Gary Chambers-4

On Sep 2, 2011, at 5:57 PM, Gary Chambers wrote:

> Or make a "ShowEventsTester" morph ;-)

if you have one Im interested becaue from time to time I rewriting all the events handling.

>
> Regards, Gary
>
> ----- Original Message ----- From: "Stéphane Ducasse" <[hidden email]>
> To: <[hidden email]>
> Sent: Friday, September 02, 2011 4:35 PM
> Subject: Re: [Pharo-project] Horizontal wheel
>
>
> no you should just write the transcript the events have a look at HandMorph handle event method.
>
> Stef
> On Sep 2, 2011, at 3:39 PM, Alexandre Bergel wrote:
>
>> We need a VM expert...
>> I am sure there is a good soul on the mailing list.
>>
>> Alexandre
>>
>>
>> On 2 Sep 2011, at 10:31, Gary Chambers wrote:
>>
>>> I can add the support if you can work out what the VM sends as key/char codes... ;-)
>>>
>>> Regards, Gary
>>>
>>> ----- Original Message ----- From: "Alexandre Bergel" <[hidden email]>
>>> To: "Pharo Development" <[hidden email]>
>>> Sent: Friday, September 02, 2011 2:06 PM
>>> Subject: [Pharo-project] Horizontal wheel
>>>
>>>
>>>> hi!
>>>>
>>>> Pharo supports the vertical wheel. I can use my moose wheel to scroll over a list. However, the horizontal wheel does not seem supported. It would be very cool to have it...
>>>>
>>>> http://code.google.com/p/pharo/issues/detail?id=4752
>>>>
>>>> Cheers,
>>>> Alexandre
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Horizontal wheel

Stéphane Ducasse
In reply to this post by Gary Chambers-4

On Sep 2, 2011, at 6:44 PM, Gary Chambers wrote:

> Not sure how it would translate but would be nice to get proper events for such things, handle on the image side...

yes if you have 5 min
have a look at what we started to do with igor (still really preliminary)

        EventModel/EventModel on squeaksource
       
        Gofer new
                squeaksource:'EventModel';
                package: 'EventModel';
                load


We started to reify raw VM event to avoid to have raw buffer spreading terrible code around.
After the idea will be to generate more complex events based on the raw ones + introducing
double dispatch instead all the ifTrueifFalse....

>
> Regards, Gary
>
> ----- Original Message ----- From: "Gary Chambers" <[hidden email]>
> To: <[hidden email]>
> Sent: Friday, September 02, 2011 4:57 PM
> Subject: Re: [Pharo-project] Horizontal wheel
>
>
>> Or make a "ShowEventsTester" morph ;-)
>>
>> Regards, Gary
>>
>> ----- Original Message ----- From: "Stéphane Ducasse" <[hidden email]>
>> To: <[hidden email]>
>> Sent: Friday, September 02, 2011 4:35 PM
>> Subject: Re: [Pharo-project] Horizontal wheel
>>
>>
>> no you should just write the transcript the events have a look at HandMorph handle event method.
>>
>> Stef
>> On Sep 2, 2011, at 3:39 PM, Alexandre Bergel wrote:
>>
>>> We need a VM expert...
>>> I am sure there is a good soul on the mailing list.
>>>
>>> Alexandre
>>>
>>>
>>> On 2 Sep 2011, at 10:31, Gary Chambers wrote:
>>>
>>>> I can add the support if you can work out what the VM sends as key/char codes... ;-)
>>>>
>>>> Regards, Gary
>>>>
>>>> ----- Original Message ----- From: "Alexandre Bergel" <[hidden email]>
>>>> To: "Pharo Development" <[hidden email]>
>>>> Sent: Friday, September 02, 2011 2:06 PM
>>>> Subject: [Pharo-project] Horizontal wheel
>>>>
>>>>
>>>>> hi!
>>>>>
>>>>> Pharo supports the vertical wheel. I can use my moose wheel to scroll over a list. However, the horizontal wheel does not seem supported. It would be very cool to have it...
>>>>>
>>>>> http://code.google.com/p/pharo/issues/detail?id=4752
>>>>>
>>>>> Cheers,
>>>>> Alexandre
>>>>> --
>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>> Alexandre Bergel  http://www.bergel.eu
>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Horizontal wheel

Stéphane Ducasse
Only the category EventModel-System is what we are doing the other was done by mike in iSqueak.

Stef

On Sep 3, 2011, at 8:41 AM, Stéphane Ducasse wrote:

>
> On Sep 2, 2011, at 6:44 PM, Gary Chambers wrote:
>
>> Not sure how it would translate but would be nice to get proper events for such things, handle on the image side...
>
> yes if you have 5 min
> have a look at what we started to do with igor (still really preliminary)
>
> EventModel/EventModel on squeaksource
>
> Gofer new
> squeaksource:'EventModel';
> package: 'EventModel';
> load
>
>
> We started to reify raw VM event to avoid to have raw buffer spreading terrible code around.
> After the idea will be to generate more complex events based on the raw ones + introducing
> double dispatch instead all the ifTrueifFalse....
>>
>> Regards, Gary
>>
>> ----- Original Message ----- From: "Gary Chambers" <[hidden email]>
>> To: <[hidden email]>
>> Sent: Friday, September 02, 2011 4:57 PM
>> Subject: Re: [Pharo-project] Horizontal wheel
>>
>>
>>> Or make a "ShowEventsTester" morph ;-)
>>>
>>> Regards, Gary
>>>
>>> ----- Original Message ----- From: "Stéphane Ducasse" <[hidden email]>
>>> To: <[hidden email]>
>>> Sent: Friday, September 02, 2011 4:35 PM
>>> Subject: Re: [Pharo-project] Horizontal wheel
>>>
>>>
>>> no you should just write the transcript the events have a look at HandMorph handle event method.
>>>
>>> Stef
>>> On Sep 2, 2011, at 3:39 PM, Alexandre Bergel wrote:
>>>
>>>> We need a VM expert...
>>>> I am sure there is a good soul on the mailing list.
>>>>
>>>> Alexandre
>>>>
>>>>
>>>> On 2 Sep 2011, at 10:31, Gary Chambers wrote:
>>>>
>>>>> I can add the support if you can work out what the VM sends as key/char codes... ;-)
>>>>>
>>>>> Regards, Gary
>>>>>
>>>>> ----- Original Message ----- From: "Alexandre Bergel" <[hidden email]>
>>>>> To: "Pharo Development" <[hidden email]>
>>>>> Sent: Friday, September 02, 2011 2:06 PM
>>>>> Subject: [Pharo-project] Horizontal wheel
>>>>>
>>>>>
>>>>>> hi!
>>>>>>
>>>>>> Pharo supports the vertical wheel. I can use my moose wheel to scroll over a list. However, the horizontal wheel does not seem supported. It would be very cool to have it...
>>>>>>
>>>>>> http://code.google.com/p/pharo/issues/detail?id=4752
>>>>>>
>>>>>> Cheers,
>>>>>> Alexandre
>>>>>> --
>>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>>> Alexandre Bergel  http://www.bergel.eu
>>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>