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:
parent
fc052b2d7f
commit
8fb42aff73
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user