Last active
June 7, 2016 09:39
-
-
Save DaveThw/bee2bc1a72585093b9ee32b0bb6c311d to your computer and use it in GitHub Desktop.
Control template for remote control of ETC EOS desks over OSC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
loadedInterfaceName = "EOS Remote Control"; | |
interfaceOrientation = "portrait"; | |
pages = [ | |
/********** PAGE 0 *************/ | |
[ | |
{ | |
"name":"userLabel", | |
"type":"Label", | |
"value":"User:", | |
"bounds": [0,.1,.2,.1], | |
}, | |
{ | |
"name":"userText", | |
"type":"Label", | |
"value":"<User>", | |
"bounds": [0.2,.11,.8,.08], | |
"color": "#333333", | |
"stroke": "#aaaaaa", | |
}, | |
{ | |
"name":"cmdLabel", | |
"type":"Label", | |
"value":"Cmd:", | |
"bounds": [0,.2,.2,.1], | |
}, | |
{ | |
"name":"cmdText", | |
"type":"Label", | |
"value":"<cmd>", | |
"bounds": [0.2,.21,.8,.08], | |
"color": "#333333", | |
"stroke": "#aaaaaa", | |
}, | |
/* *** Bottom buttons *** */ | |
{ | |
"name": "refresh", | |
"type": "Button", | |
"bounds": [.61, .86, .18, .08], | |
"startingValue": 0, | |
"isLocal": true, | |
"mode": "contact", | |
"ontouchstart": "interfaceManager.refreshInterface()", | |
"stroke": "#aaa", | |
"label": "refresh", | |
}, | |
{ | |
"name": "menuButton", | |
"type": "Button", | |
"bounds": [.81, .86, .18, .08], | |
"mode": "toggle", | |
"stroke": "#aaa", | |
"isLocal": true, | |
"ontouchstart": "if(this.value == this.max) { control.showToolbar(); } else { control.hideToolbar(); }", | |
"label": "menu", | |
}, | |
] | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment