Skip to content

Commit

Permalink
Device whitelist -> blacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
simlrh committed Sep 23, 2016
1 parent 10e5982 commit 6709b8d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions je_nourish_openhmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6709b8d

Please sign in to comment.