Hi François, I don't have an Mac or OSX expertise to help with this particular issue, I'll have to defer to others with relevant systems and expertise. One thing I'd add is that it would checking to see how the osgkeyboard runs on your system, and also could you tell us whether you've built using Carbon or Cocoa? The later is now the preferred option.
Resolution of this issue will have to be down to member of the OSG community that have OSX expertise, hopefully they will chime in with this thread. Robert. On 15 January 2013 14:53, François Génolini <[email protected]> wrote: > I have just checked out OpenSceneGraph trunk and built it on my mac. > > osgversion: OpenSceneGraph Library 3.1.4 > uname -a: Darwin 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 > PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64 > XCode: Version 4.5.2 (4G2008a) > > I am trying to get some software working: chapter 2 example from the > OpenSceneGraph 3 cookbook > (http://www.packtpub.com/openscenegrap-3-for-advanced-3d-programming-using-api-cookbook/book). > In this example, I cannot pick the sphere or the cube as long as the code > expects to see > modifierKeyMask & osgGA::GUIEventAdapter::MODKEY_CTRL > > If I remove this condition (any left mouse click allows the method to > continue), then the software works as designed. > > Neither Control (left / right) nor Alt modifiers (left / right) are > reported. > Shift (left / right) and Command (left / right) are reported. > Key combinations (Shift + Control) are not reported (even though, on its > own, Shift is reported). > > Here is a reference to an old discussion on the mailing list: > [osg-users] Modifier key mask not working under OS X, by Adrian Egli > OpenSceneGraph (3D) 3dhelp at gmail.com, dated Thu Feb 21 22:23:05 PST 2008 > > This is either a bug that was never fixed or a regression. > > What would be the way forward to address this? > > Regards, > > François Génolini > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

