summaryrefslogtreecommitdiffstats
path: root/conf.d/project/json.d/onload-aaaa-sample.json
diff options
context:
space:
mode:
authorTobias Jahnke <tobias.jahnke@microchip.com>2018-12-17 16:51:56 +0100
committerTobias Jahnke <tobias.jahnke@microchip.com>2018-12-17 16:51:56 +0100
commit8ef79c4fe380e590a7050f76605f304726eca664 (patch)
tree6a4f9dfd669c8e1541d01581c0eb2409091fbc83 /conf.d/project/json.d/onload-aaaa-sample.json
parent6c067df867da74cab78c987aa9299290f08c280a (diff)
4a-hal-unicens: prepare import of plugin
Bug-AGL: SPEC-1505 - remove all files from legacy hal binding Change-Id: I69e6d170cfa6a16d116f63263a1a5f75e2098d5b Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
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"
- }
- }
- ]
-}
-