We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e46dd15 commit 042aa2aCopy full SHA for 042aa2a
2 files changed
README.md
@@ -68,6 +68,8 @@ hyperdeck.slotSelect(2);
68
hyperdeck.slotInfo(); //Gives info on currently selected slot
69
hyperdeck.slotInfo(1);
70
hyperdeck.clipsGet();
71
+hyperdeck.nextClip();
72
+hyperdeck.prevClip();
73
hyperdeck.transportInfo();
74
hyperdeck.format(format);
75
```
src/hyperdeck/hyperdeck.js
@@ -54,6 +54,14 @@ var Hyperdeck = function(config) {
54
return this.makeRequest('clips get');
55
};
56
57
+ this.nextClip = function() {
58
+ return this.makeRequest('goto: clip id: +1');
59
+ };
60
+
61
+ this.prevClip = function() {
62
+ return this.makeRequest('goto: clip id: -1');
63
64
65
this.slotSelect = function(id){
66
return this.makeRequest('slot select: slot id: ' + id);
67
0 commit comments