Start work on capper branch
This commit is contained in:
parent
22bed4632b
commit
c15c376a2f
|
@ -178,7 +178,10 @@
|
||||||
"cameras": "4",
|
"cameras": "4",
|
||||||
"camera_projectors_identifier": "5",
|
"camera_projectors_identifier": "5",
|
||||||
"cameras_projector_identifier": "6",
|
"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_forward
|
||||||
|| data === cfg.arduino.cmd.camera_second_backward
|
|| data === cfg.arduino.cmd.camera_second_backward
|
||||||
|| data === cfg.arduino.cmd.camera_second
|
|| 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(null, data);
|
||||||
this.confirmExec = {};
|
this.confirmExec = {};
|
||||||
|
@ -314,6 +317,12 @@ class Arduino {
|
||||||
type = 'camera,camera_second,projector'
|
type = 'camera,camera_second,projector'
|
||||||
} else if (data === cfg.arduino.cmd.cameras_projectors_identifier) {
|
} else if (data === cfg.arduino.cmd.cameras_projectors_identifier) {
|
||||||
type = 'camera,camera_second,projector,projector_second'
|
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)
|
return resolve(type)
|
||||||
}
|
}
|
||||||
|
|
|
@ -419,7 +419,7 @@ class Devices {
|
||||||
})
|
})
|
||||||
if (match.length === 0) {
|
if (match.length === 0) {
|
||||||
deviceEntry = {
|
deviceEntry = {
|
||||||
type : type
|
type
|
||||||
}
|
}
|
||||||
deviceEntry[which] = device
|
deviceEntry[which] = device
|
||||||
this.settings.state.devices.push(deviceEntry)
|
this.settings.state.devices.push(deviceEntry)
|
||||||
|
|
Loading…
Reference in New Issue