|
OSVR-Core
|
Sample plugin that accepts configuration of its device from the server. 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>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.
| OSVR_PLUGIN | ( | com_osvr_example_Configured | ) |
Tell the core we're available to create a device object.
1.8.12