summaryrefslogtreecommitdiffstats
path: root/conf.d/project/json.d/onload-aaaa-sample.json
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/project/json.d/onload-aaaa-sample.json')
-rw-r--r--conf.d/project/json.d/onload-aaaa-sample.json118
1 files changed, 0 insertions, 118 deletions
diff --git a/conf.d/project/json.d/onload-aaaa-sample.json b/conf.d/project/json.d/onload-aaaa-sample.json
deleted file mode 100644
index 2b0ad7f..0000000
--- a/conf.d/project/json.d/onload-aaaa-sample.json
+++ /dev/null
@@ -1,118 +0,0 @@
-{
- "$schema": "ToBeDone",
- "metadata": {
- "label": "sample-aaaa-control",
- "info": "Sample of Video AAAA controls",
- "name": "afb-sample-controller",
- "version": "1.0"
- },
- "onload": [{
- "label": "onload-default",
- "info": "onload initialisation config",
- "require": ["alsacore","jabra-usb","intel-hda","hal-most-unicens"],
- "actions":
- {
- "label": "control-init",
- "lua": "_Audio_Controller_Init",
- "args": {
- "evtname": "agl-audio"
- }
- }
- }],
- "controls":
- [
- {
- "label": "Volume",
- "permissions": "urn:AGL:permission:audio:public:multimedia",
- "actions": {
- "label": "adjust-master-volume",
- "info" : "volume value should be provided by requesting client",
- "lua": "_Permament_Control",
- "args": {
- "ctl" : "Master_Playback_Volume"
- }
- }
- },{
- "label": "Multimedia",
- "permissions": "urn:AGL:permission:audio:public:multimedia",
- "actions": {
- "label": "authorize-multimedia",
- "lua": "_Temporarily_Control",
- "args": {
- "ctl" : "Multimedia_Playback_Volume",
- "val": 80
- }
- }
- }, {
- "label": "Navigation",
- "permissions": "urn:AGL:permission:audio:public:navigation",
- "actions": {
- "label": "authorize-navigation",
- "lua": "_Temporarily_Control",
- "args": {
- "ctl" : "Multimedia_Playback_Volume",
- "val": 40
- }
- }
- }, {
- "label": "Telephony",
- "permissions": "urn:AGL:permission:audio:public:telephony",
- "actions": {
- "label": "authorize-multimedia",
- "lua": "_Temporarily_Control",
- "args": {
- "ctl" : "Multimedia_Playback_Volume",
- "val": 20
- }
- }
- }, {
- "label": "Emergency",
- "permissions": "urn:AGL:permission:audio:public:emergency",
- "actions": {
- "label": "authorize-multimedia",
- "lua": "_Temporarily_Control",
- "args": {
- "ctl" : "Multimedia_Playback_Switch",
- "val": 0
- },
- "label": "authorize-multimedia",
- "lua": "_Temporarily_Control",
- "args": {
- "ctl" : "Navigation_Playback_Switch",
- "val": 0
- }
- }
- }
- ],
- "events":
- [
- {
- "label": "ReverseEngage",
- "actions": [{
- "label": "adjust_volume-reverse",
- "lua": "_Temporarily_Control",
- "args": {
- "ctl": "Multimedia_Playback_Volume",
- "val": 20
- }
- },
- {
- "label": "prevent-telephony",
- "lua": "_Temporarily_Control",
- "args": {
- "ctl": "Telephony_Playback_Switch",
- "val": 0
- }
- }
- ]
- },
- {
- "label": "SpeedChanged",
- "actions": {
- "label": "adjust_volume",
- "lua": "_Adjust_Volume"
- }
- }
- ]
-}
-