1
0
mirror of https://github.com/djhackersdev/bemanitools.git synced 2025-02-17 19:19:16 +01:00

Update cam.c

The user can now set a custom camera device override of "SKIP" to leave that camera unassigned
This commit is contained in:
Jeffrey Paine 2023-04-08 22:13:10 -04:00 committed by icex2
parent fc052b2d7f
commit 8fb42aff73

View File

@ -706,6 +706,11 @@ void fill_cam_struct(struct CameraData *data, const char *devid)
// Device instance path
strcpy(data->deviceInstancePath, devid);
// continue
} else if (check_four(devid, "SKIP")) {
// User wants to leave this camera unassigned
num_addressed_cams++;
num_located_cams++;
return;
} else {
// UNKNOWN ENTRY
log_info("UNK: %s", devid);