16 #ifndef SURGSIM_DEVICES_KEYBOARD_KEYBOARDSCAFFOLD_H 17 #define SURGSIM_DEVICES_KEYBOARD_KEYBOARDSCAFFOLD_H 21 #include "SurgSim/Framework/Logger.h" 26 namespace DataStructures
34 class OsgKeyboardHandler;
53 static std::shared_ptr<KeyboardScaffold> getOrCreateSharedInstance();
68 bool unregisterDevice();
74 bool updateDevice(
int key,
int modifierMask);
84 std::shared_ptr<SurgSim::Framework::Logger> m_logger;
86 std::unique_ptr<DeviceData> m_device;
92 #endif // SURGSIM_DEVICES_KEYBOARD_KEYBOARDSCAFFOLD_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
A class implementing the communication with a keyboard.
Definition: KeyboardDevice.h:46
A class that implements the behavior of KeyboardDevice objects.
Definition: KeyboardScaffold.h:38
A collection of NamedData objects.
Definition: DataGroup.h:68
Definition: OsgKeyboardHandler.h:30
Definition: KeyboardDeviceTest.cpp:35
Struct to hold a KeyboardDevice object, a KeyboardHandler object, and a mutex for data passing...
Definition: KeyboardScaffold.cpp:31