From 448cd50546b99e2511633bad592fe3dd44899df9 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 22 Apr 2008 14:15:24 +0000 Subject: [PATCH] From Stephan Huber, "the support for the new mightymouse and new touchpads was incomplete in GraphicsWindowCarbon. Attached is a fixed version." --- src/osgViewer/GraphicsWindowCarbon.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osgViewer/GraphicsWindowCarbon.cpp b/src/osgViewer/GraphicsWindowCarbon.cpp index 57699f1da..f8a0e446d 100644 --- a/src/osgViewer/GraphicsWindowCarbon.cpp +++ b/src/osgViewer/GraphicsWindowCarbon.cpp @@ -591,6 +591,7 @@ void GraphicsWindowCarbon::installEventHandler() { {kEventClassMouse, kEventMouseMoved}, {kEventClassMouse, kEventMouseDragged}, {kEventClassMouse, kEventMouseWheelMoved}, + {kEventClassMouse, 11 /* kEventMouseScroll */}, {kEventClassKeyboard, kEventRawKeyDown}, {kEventClassKeyboard, kEventRawKeyRepeat},