From 6613558221c31175da658d4d5526e62991a1e9a1 Mon Sep 17 00:00:00 2001 From: M McWilliams Date: Tue, 30 Jan 2018 09:33:34 -0500 Subject: [PATCH] named profiles in cfg --- app/data/cfg.json | 16 ++++++++++++++++ app/lib/settings/index.js | 1 + 2 files changed, 17 insertions(+) diff --git a/app/data/cfg.json b/app/data/cfg.json index a30ab43..9a2a28e 100644 --- a/app/data/cfg.json +++ b/app/data/cfg.json @@ -7,6 +7,22 @@ "serialDelay" : 20, "sequenceDelay" : 100, "profiles" : { + "mcopy" : { + "cam" : { + "time" : 630, + "delay" : 50, + "momentary" : 0 + }, + "proj" : { + "time" : 1300, + "delay" : 50, + "momentary" : 0 + }, + "black" : { + "before" : 0, + "after" : 0 + } + }, "jk_original" : { "cam" : { "time" : 750, diff --git a/app/lib/settings/index.js b/app/lib/settings/index.js index 78b1256..408c58d 100644 --- a/app/lib/settings/index.js +++ b/app/lib/settings/index.js @@ -10,6 +10,7 @@ settings.state = { enabled : true }, devices : [], + profile : 'mcopy', camera : {}, projector : {}, light : {}