From 39deb98da3ec28f4d11cdcd616c247040cab4102 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 22 Aug 2017 17:21:05 +0200 Subject: Import missing project files. Change-Id: I157131b2a08024f795d289d0357f55a0032117d7 Signed-off-by: Romain Forlot --- .../project/json.d/onload-daemon-standalone.json | 72 ++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 conf.d/project/json.d/onload-daemon-standalone.json (limited to 'conf.d/project/json.d/onload-daemon-standalone.json') diff --git a/conf.d/project/json.d/onload-daemon-standalone.json b/conf.d/project/json.d/onload-daemon-standalone.json new file mode 100644 index 0000000..ab646fd --- /dev/null +++ b/conf.d/project/json.d/onload-daemon-standalone.json @@ -0,0 +1,72 @@ +{ + "$schema": "ToBeDone", + "metadata": { + "label": "sample-standalone-control", + "info": "Minimal Standalone Controller Config", + "version": "1.0" + }, + "onload": [{ + "label": "onload-default", + "info": "onload initialisation config", + "actions": + { + "label": "control-init", + "lua": "_Control_Init" + } + }], + "controls": + [ + { + "label": "Button-1", + "actions": { + "label": "Action on Button One", + "lua": "_Button_Press", + "args": { + "button": 1 + } + } + }, { + "label": "Button-1", + "actions": { + "label": "Action on Button Two", + "lua": "_Button_Press", + "args": { + "button": 2 + } + } + }, { + "label": "Button-1", + "actions": { + "label": "Action on Button Three", + "lua": "_Button_Press", + "args": { + "button": 3 + } + } + } + ], + "events": + [ + { + "label": "Event1", + "actions": { + "label": "Action Event 1", + "lua": "_Event_Received", + "args": { + "evtname": "xxx" + } + } + }, + { + "label": "Event2", + "actions": { + "label": "Action Event 2", + "lua": "_Event_Received", + "args": { + "evtname": "yyy" + } + } + } + ] +} + -- cgit 1.2.3-korg