On 12/30/2012 08:12 PM, pron [via jogamp] wrote:
> Hi.
>
> Mac notebooks support two-finger scrolling with the trackpad. This generates
> mouse-wheel events. With AWT, MouseWheelEvent.isShiftDown() returns false for
> vertical scrolling and true for horizontal scrolling. However, with NEWT,
> MouseEvent.isShiftDown() returns false in both cases (though it returns true
> when the shift key is actually down).
>
> This means that there is no way to detect horizontal scrolling. I've been able
> to find a twisted workaround by creating a translucent AWT frame on top of the
> NEWT window and capturing the events there, but it would be great if NEWT
> could also return true from MouseEvent.isShiftDown() in the case of horizontal
> scrolling.
>
Please file a bug report and make it depend on:
<
https://jogamp.org/bugzilla/show_bug.cgi?id=629>
Is this happing w/ a 'pure' NEWT OSX window ?
Then pls name the bug:
'NEWT key modifier bits (SHIFT, ..) not set w/ trackpad 2 finger horizontal scrolling'
.. and add your description above.
~Sven