aboutsummaryrefslogtreecommitdiffstats
path: root/Controler-afb/ctl-events.c
diff options
context:
space:
mode:
Diffstat (limited to 'Controler-afb/ctl-events.c')
-rw-r--r--Controler-afb/ctl-events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Controler-afb/ctl-events.c b/Controler-afb/ctl-events.c
index f76feca..18aac53 100644
--- a/Controler-afb/ctl-events.c
+++ b/Controler-afb/ctl-events.c
@@ -75,7 +75,7 @@ STATIC int DoSendEvent (void *context) {
else ctx->value =1;
ctlEventJ = json_object_new_object();
- json_object_object_add(ctlEventJ,"action", json_object_new_string(ctx->label));
+ json_object_object_add(ctlEventJ,"signal", json_object_new_string(ctx->label));
json_object_object_add(ctlEventJ,"value" , json_object_new_int(ctx->value));
int done = afb_event_push(afbevt, ctlEventJ);