File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,8 @@ hyperdeck.slotSelect(2);
6868hyperdeck .slotInfo (); // Gives info on currently selected slot
6969hyperdeck .slotInfo (1 );
7070hyperdeck .clipsGet ();
71+ hyperdeck .nextClip ();
72+ hyperdeck .prevClip ();
7173hyperdeck .transportInfo ();
7274hyperdeck .format (format);
7375```
Original file line number Diff line number Diff line change @@ -54,6 +54,14 @@ var Hyperdeck = function(config) {
5454 return this . makeRequest ( 'clips get' ) ;
5555 } ;
5656
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+
5765 this . slotSelect = function ( id ) {
5866 return this . makeRequest ( 'slot select: slot id: ' + id ) ;
5967 } ;
You can’t perform that action at this time.
0 commit comments