camhook: Add disable_camera options
Allow users to manually disable specific cameras
This commit is contained in:
@@ -11,6 +11,7 @@ struct camhook_config_cam {
|
|||||||
bool disable_emu;
|
bool disable_emu;
|
||||||
size_t num_devices;
|
size_t num_devices;
|
||||||
char device_id[CAMHOOK_CONFIG_CAM_MAX][MAX_PATH];
|
char device_id[CAMHOOK_CONFIG_CAM_MAX][MAX_PATH];
|
||||||
|
bool disable_camera[CAMHOOK_CONFIG_CAM_MAX];
|
||||||
};
|
};
|
||||||
|
|
||||||
void camhook_config_cam_init(struct cconfig *config, size_t num_cams);
|
void camhook_config_cam_init(struct cconfig *config, size_t num_cams);
|
||||||
|
|||||||
Reference in New Issue
Block a user