-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactions.js
More file actions
53 lines (49 loc) · 781 Bytes
/
actions.js
File metadata and controls
53 lines (49 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
module.exports = {
/**
* Get the available actions.
*
* !!! Utilized by bmd-multiview16 !!!
*
* @returns {Object[]} the available actions
* @access public
* @since 1.2.0
*/
getActions() {
var actions = {};
actions['push'] = {
label: 'Push remote key down',
options: [
{
type: 'textinput',
label: 'Page',
id: 'page',
default: '1'
},
{
type: 'textinput',
label: 'Bank',
id: 'bank',
default: "1"
}
]
};
actions['release'] = {
label: 'Release remote key',
options: [
{
type: 'textinput',
label: 'Page',
id: 'page',
default: '1'
},
{
type: 'textinput',
label: 'Bank',
id: 'bank',
default: "1"
}
]
};
return actions;
}
}