OSVR-Core
Classes | Typedefs | Functions
org_osvr_example_SampleCPlugin.c File Reference

The MultipleAsync plugin example, converted to plain C as a sample. More...

#include <osvr/PluginKit/PluginKitC.h>
#include <osvr/PluginKit/AnalogInterfaceC.h>
#include <osvr/PluginKit/ButtonInterfaceC.h>
#include <osvr/PluginKit/TrackerInterfaceC.h>
#include <osvr/Util/BoolC.h>
#include "org_osvr_example_SampleCPlugin_json.h"
#include <stdio.h>
#include <stdlib.h>

Classes

struct  MyDevice
 

Typedefs

typedef struct MyDevice MyDevice
 

Functions

 OSVR_PLUGIN (org_osvr_example_SampleCPlugin)
 

Detailed Description

The MultipleAsync plugin example, converted to plain C as a sample.

All the functionality of the other example plugins (hardware detection callbacks, device instantiation callbacks, etc.) can also be performed in plain C.

Date
2015
Author
Sensics, Inc. http://sensics.com/osvr