Merge branch 'capper' of git.sixteenmillimeter.com:16mm/mcopy into capper
This commit is contained in:
commit
96e0ce6050
|
@ -178,7 +178,10 @@
|
|||
"cameras": "4",
|
||||
"camera_projectors_identifier": "5",
|
||||
"cameras_projector_identifier": "6",
|
||||
"cameras_projectors_identifier": "7"
|
||||
"cameras_projectors_identifier": "7",
|
||||
"camera_capper_identifier" : "8",
|
||||
"camera_capper_projector_identifier" : "9",
|
||||
"camera_capper_projectors_identifier" : "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -252,7 +252,10 @@ class Arduino {
|
|||
|| data === cfg.arduino.cmd.camera_second_forward
|
||||
|| data === cfg.arduino.cmd.camera_second_backward
|
||||
|| data === cfg.arduino.cmd.camera_second
|
||||
|| data === cfg.arduino.cmd.cameras) {
|
||||
|| data === cfg.arduino.cmd.cameras
|
||||
|| data === cfg.arduino.cmd.camera_capper_identifier
|
||||
|| data === cfg.arduino.cmd.camera_capper_projector_identifier
|
||||
|| data === cfg.arduino.cmd.camera_capper_projectors_identifier) {
|
||||
|
||||
this.confirmExec(null, data);
|
||||
this.confirmExec = {};
|
||||
|
@ -314,6 +317,12 @@ class Arduino {
|
|||
type = 'camera,camera_second,projector'
|
||||
} else if (data === cfg.arduino.cmd.cameras_projectors_identifier) {
|
||||
type = 'camera,camera_second,projector,projector_second'
|
||||
} else if (data === cfg.arduino.cmd.camera_capper_identifier) {
|
||||
type = 'camera,capper'
|
||||
} else if (data === cfg.arduino.cmd.camera_capper_projector_identifier) {
|
||||
type = 'camera,capper,projector'
|
||||
} else if (data === cfg.arduino.cmd.camera_capper_projectors_identifier) {
|
||||
type = 'camera,capper,projector,projector_second'
|
||||
}
|
||||
return resolve(type)
|
||||
}
|
||||
|
|
|
@ -419,7 +419,7 @@ class Devices {
|
|||
})
|
||||
if (match.length === 0) {
|
||||
deviceEntry = {
|
||||
type : type
|
||||
type
|
||||
}
|
||||
deviceEntry[which] = device
|
||||
this.settings.state.devices.push(deviceEntry)
|
||||
|
|
Loading…
Reference in New Issue