16 #ifndef SURGSIM_DEVICES_KEYBOARD_OSGKEYBOARDHANDLER_H
17 #define SURGSIM_DEVICES_KEYBOARD_OSGKEYBOARDHANDLER_H
21 #include <osgGA/GUIEventHandler>
28 class KeyboardScaffold;
40 virtual bool handle(
const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa)
override;
50 #endif // SURGSIM_DEVICES_KEYBOARD_OSGKEYBOARDHANDLER_H
Definition: DriveElementFromInputBehavior.cpp:27
virtual bool handle(const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa) override
Method to handle GUI event.
Definition: OsgKeyboardHandler.cpp:33
OsgKeyboardHandler()
Constructor.
Definition: OsgKeyboardHandler.cpp:29
Definition: OsgKeyboardHandler.h:30
std::weak_ptr< KeyboardScaffold > m_keyboardScaffold
A back pointer to the scaffold which owns this handle.
Definition: OsgKeyboardHandler.h:44