Skip to content

Commit 6709b8d

Browse files
committed
Device whitelist -> blacklist
1 parent 10e5982 commit 6709b8d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

je_nourish_openhmd.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,13 @@ namespace {
8282
return OSVR_RETURN_FAILURE;
8383
}
8484

85-
std::string path;
8685
std::string product;
8786

8887
for (int i = 0; i < num_devices; i++) {
8988

9089
product = ohmd_list_gets(ohmd_ctx, i, OHMD_PRODUCT);
9190

92-
if (product.compare("Rift (Devkit)") == 0) {
91+
if (product.compare("Dummy Device") != 0) {
9392
osvr::pluginkit::registerObjectForDeletion(
9493
ctx, new OculusHMD(ctx, ohmd_ctx, i));
9594
m_found = true;

0 commit comments

Comments
 (0)