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" <siguctua@gmail.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Friday, September 02, 2011 3:01 PM Subject: Re: [Pharo-project] Horizontal wheel
On 2 September 2011 16:52, Johannes Rasche <johannesrasche@mac.com> 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.