1 #include <msp/strings/format.h>
4 #include "openvr/openvrsystem.h"
7 #include "ovr/oculusriftsystem.h"
15 System *System::create(const string &type)
19 return new OpenVRSystem;
23 return new OculusRiftSystem;
25 throw invalid_argument(format("system '%s' not supported", type));