~mixxxdevelopers/mixxx/engine-control-refactor

« back to all changes in this revision

Viewing changes to mixxx/res/controllers/Kontrol-Dj-KDJ500-scripts.js

  • Committer: RJ Ryan
  • Date: 2013-06-04 00:41:29 UTC
  • mfrom: (2890.22.101 mixxx)
  • Revision ID: rryan@mixxx.org-20130604004129-8jjxkicsb3givu4a
MergingĀ fromĀ lp:mixxx.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
KDJ500 = new Controller();
 
2
 
 
3
KDJ500.init = function (id, debugging) {
 
4
    
 
5
}
 
6
 
 
7
KDJ500.shutdown = function () {
 
8
    
 
9
}
 
10
 
 
11
KDJ500.jog = function (channel, control, value, status, group) {
 
12
    if(value==0x7F) engine.setValue(group,"jog",1);
 
13
    if(value==0x01) engine.setValue(group,"jog",-1);
 
14
}
 
15
 
 
16
KDJ500.track = function (channel, control, value, status, group) {
 
17
    if(value==0x7F) engine.setValue("[Playlist]","SelectTrackKnob",1); 
 
18
    if(value==0x01) engine.setValue("[Playlist]","SelectTrackKnob",-1); 
 
19
}