1 #include <msp/strings/format.h>
2 #include "displaydevice.h"
4 #include "openvr/openvrdevice.h"
7 #include "ovr/oculusriftdevice.h"
15 DisplayDevice *DisplayDevice::create_device(const string &type)
19 return new OpenVRDevice;
23 return new OculusRiftDevice;
25 throw invalid_argument(format("device type '%s' not supported", type));