Channel Configuration - JimAnkrom/sway GitHub Wiki
Example channel configuration
-
"Player1" is the channel name
-
"resolumeMotion" is the plugin name
-
"orientation" is the input control plugin name
-
"alpha/beta/gamma" is the values that the "orientation" plugin exposes
(SORRY ABOUT THE FORMATTING BELOW, MY MARKDOWN SKILLS AREN'T UP TO SNUFF, will fix)
{ "Player1": { "displayName": "Layer 1 Opacity", "description": "This channel controls layer 1's opacity", "resolumeMotion": { "address": "192.168.1.245", "port": 6000, "orientation": { "alpha": "/layer1/video/opacity/values", "beta": { "constraints": { "floor": -25, "ceiling": 110 }, "scale": { "min": 0, "max": 1 }, "address": "/layer1/video/opacity/values" }, "gamma": { "constraints": { "floor": -90, "ceiling": 90 }, "scale": { "min": 0, "max": 1 }, "address": "/layer1/video/effect1/opacity/values" } } } } }