Sample plugin that accepts configuration of its device from the server. See osvr_server_config.ConfiguredPlugin.sample.json for how to load a plugin like this. More...
#include <osvr/PluginKit/PluginKit.h>#include <osvr/PluginKit/AnalogInterfaceC.h>#include <osvr/PluginKit/ButtonInterfaceC.h>#include <osvr/PluginKit/TrackerInterfaceC.h>#include "com_osvr_example_Configured_json.h"#include <json/value.h>#include <json/reader.h>#include <iostream>#include <chrono>#include <thread>Go to the source code of this file.
Functions | |
| OSVR_PLUGIN (com_osvr_example_Configured) | |
Sample plugin that accepts configuration of its device from the server. See osvr_server_config.ConfiguredPlugin.sample.json for how to load a plugin like this.
Definition in file com_osvr_example_Configured.cpp.
| OSVR_PLUGIN | ( | com_osvr_example_Configured | ) |
Tell the core we're available to create a device object.
Definition at line 124 of file com_osvr_example_Configured.cpp.