From 95323c5ce12c948e36386ad18b4e3acce59c4a73 Mon Sep 17 00:00:00 2001 From: Sebastian Wiedenroth Date: Mon, 17 Sep 2012 19:00:24 +0200 Subject: [PATCH] support for presets --- index.html | 94 +++++++++++++++++++++++++++++++++++++++++++++++------- setup.js | 20 ++++++++++++ 2 files changed, 102 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index 8056e7d..a4c2f7d 100644 --- a/index.html +++ b/index.html @@ -4,12 +4,29 @@ DMX Lichtschalter + + - + + + -
+ +
+
+
+
+
+
+
+ +
+
+ +
+
\ No newline at end of file diff --git a/setup.js b/setup.js index c305239..210e761 100644 --- a/setup.js +++ b/setup.js @@ -1,4 +1,24 @@ exports.setup = { + presets: [ + { + label: 'White', + values: { + 'office': { 0:16, 1:255, 2:0, 3:255, 4: 255, 5:255, 15:16, 16:255, 17:0, 18:255, 19: 255, 20:255 } + } + }, + { + label: 'Natural', + values: { + 'office': { 0:16, 1:255, 2:0, 3:255, 4: 190, 5:140, 15:16, 16:255, 17:0, 18:255, 19: 190, 20:140 } + } + }, + { + label: 'Worklight', + values: { + 'office': { 0:16, 1:130, 2:0, 3:255, 4: 165, 5:0, 15: 1, 16:255, 17:0, 18:255, 19: 190, 20:140, 21:0, 22: 0, 23:0, 24:255, 25: 190, 26:140 } + } + } + ], universes: { 'office': { 'output': {