From 6709b8dfcbb4ee154c761c04c6509db0dac0c9eb Mon Sep 17 00:00:00 2001 From: Steve Le Roy Harris Date: Fri, 23 Sep 2016 13:00:27 +0100 Subject: [PATCH] Device whitelist -> blacklist --- je_nourish_openhmd.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/je_nourish_openhmd.cpp b/je_nourish_openhmd.cpp index 941d4f1..bae47b8 100644 --- a/je_nourish_openhmd.cpp +++ b/je_nourish_openhmd.cpp @@ -82,14 +82,13 @@ namespace { return OSVR_RETURN_FAILURE; } - std::string path; std::string product; for (int i = 0; i < num_devices; i++) { product = ohmd_list_gets(ohmd_ctx, i, OHMD_PRODUCT); - if (product.compare("Rift (Devkit)") == 0) { + if (product.compare("Dummy Device") != 0) { osvr::pluginkit::registerObjectForDeletion( ctx, new OculusHMD(ctx, ohmd_ctx, i)); m_found = true;