Added keyboard mouse binding usage to the osg::ApplicationUsage and
osgGA::GUIEventHandler and its subclasses.
This commit is contained in:
@@ -175,6 +175,14 @@ bool FlightManipulator::handle(const GUIEventAdapter& ea,GUIActionAdapter& us)
|
||||
}
|
||||
}
|
||||
|
||||
void FlightManipulator::getUsage(osg::ApplicationUsage& usage) const
|
||||
{
|
||||
usage.addKeyboardMouseBinding("Flight: Space","Reset the viewing position to home");
|
||||
usage.addKeyboardMouseBinding("Flight: +","When in stereo, increase the fusion distance");
|
||||
usage.addKeyboardMouseBinding("Flight: -","When in stereo, reduse the fusion distance");
|
||||
usage.addKeyboardMouseBinding("Flight: q","Automatically yaw when banked (default)");
|
||||
usage.addKeyboardMouseBinding("Flight: a","No yaw when banked");
|
||||
}
|
||||
|
||||
void FlightManipulator::flushMouseEventStack()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user